my $x = 1; sub f1 { $x } my $x = 2; sub f2 { $x } print f1(), f2(), "\n"; # prints "12"
Dave.
In reply to Re: Help! My variables are jumping off a cliff!
by dave_the_m
in thread Help! My variables are jumping off a cliff!
by oko1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |