sub next_number {no warnings;++$::N} say next_number; say next_number; say next_number; __END__ 1 2 3
In reply to Re^2: increasing value every time sub routine called
by JavaFan
in thread increasing value every time sub routine called
by bigmoose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |