http://qs321.pair.com?node_id=618418


in reply to Re: eval order of args to a sub
in thread eval order of args to a sub

Can you guess what the following prints?
perl -le"$i=3; sub { $_1++; print @_ }->($i+0, ++$i, $i+0, $i);"

That's a sneaky one! I was completely wrong:
syntax error at -e line 1, near "="

PS: Just joking with you :)

-=( Graq )=-