Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Order of execution of functions in list

by ikegami (Pope)
on Sep 13, 2013 at 13:26 UTC ( #1053932=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -E'@a=qw( a b c ); say 0+@a; shift(@a); say 0+@a;'
    3
    2
    
  2. or download this
    $ perl -E'$_=123; say; sub { sub { ++$_[0] }->(shift); }->($_); say;'
    123
    124
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053932]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2014-08-20 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (114 votes), past polls