Making Variables Global With strict Pragma On - Perl
Now that you have mod_perl installed, you can move on to learning how to use it. This article will run you through some basic Perl concepts to start with.
This declares the named variables as package globals in the currentpackage. They may be referred to within the same file and packagewith their unqualified names; and in different files/packages withtheir fully qualified names.
With perl5.6 you can use the our operator instead:
our qw($scalar %hash @array);
If you want to share package global variables between packages, hereis what you can do.