in reply to CGI::Application - alternative to using $self->param?
Elaborating on friedo's suggestion, why don't you simply set the hash as a parameter:
somewhere in the beginning, and then retrieve and use it:$self->param(hash => { funky => 'Brown' });
like you did before?sub some_runmode { my $self = shift; my $hash = $self->param('hash'); print "this funky var: $hash->{funky}"; }
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
|
|---|