I have to refer to it during the rest of the script as main::@whatever
No, you're correct that you shouldn't have to do that. Can you post or /msg me a very short example? I'll be happy to show you how to fix it.
Here is the Perl documentation for use strict;.
In reply to Re^3: user input behavior from within a subroutine
by liverpole
in thread user input behavior from within a subroutine
by bw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |