If you want to go old-school, there's also the vars pragma for declaring package variables (which is what you get with our):
use vars qw($scalar @array %hash $etc);
But I must say I second BrowserUk's preferred practice and would echo his question: what advantage do you see for doing it your way?
In reply to Re: declare/initialize variables at bottom of script?
by AnomalousMonk
in thread declare/initialize variables at bottom of script?
by bcarroll
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |