I worked it out :)
increase(); increase(); increase(); sub increase { $n += 1; # Global variable $n print "$n\n"; }
In reply to Re^2: increasing value every time sub routine called
by bigmoose
in thread increasing value every time sub routine called
by bigmoose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |