Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Why is the execution order of subexpressions undefined?

by ambrus (Abbot)
on Apr 12, 2005 at 11:00 UTC ( [id://446924]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub copy { my @t = @_ };
    my $rv = func( copy($i), copy(++i), copy($i+2) );
    
  2. or download this
    my $rv = func( 0 + $i, 0 + ++i, $i + 2);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-18 04:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found