Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Why does the first $c evaluate to the incremented value in [$c, $c += $_] ? (alias)

by vsespb (Chaplain)
on Mar 05, 2014 at 16:27 UTC ( #1077101=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    mysub($c, $c+=1)
    
  2. or download this
    @a = ($c, $c+=1)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1077101]
help
Chatterbox?
[Discipulus]: good morning community!
[Corion]: Good morning Discipulus!

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2018-06-19 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (111 votes). Check out past polls.

    Notices?