Just declare them like this:
What it really says is declare the variables in your MAIN block and they are globally visible... .. use strict; my $globalvariable; # your code continues here #
In reply to Re: Globals with Strict
by jdtoronto
in thread Globals with Strict
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |