in reply to Are global variables "bad"?
As a Web programmer, I usually using CGI::Application already, so I will stick data in a param for use around a script.
$self->param('hashref' => \%hash);
and later:
my %hash = %{ $self->param('hashref') };
Again, only if that is a viable option.
|
|---|