Put either of these at the beginning of the script:
our @a = (); # or use vars qw(@a);
That should do the trick - unless I'm missing something else from your snipped code...
.02
cLive ;-)
In reply to Re: Confused about typeglobs and references
by cLive ;-)
in thread Confused about typeglobs and references
by Argel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |