in reply to declare/initialize variables at bottom of script?
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?
|
|---|