prints "21" instead of "11". Is there a "use" pragma to switch evaluation to go from left to right, so I can be lazy and not rewrite my code? thanks!my $var=1; &printit($var,$var++); sub printit{ print @_; }
In reply to order of arguments evaluated by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |