in reply to How to access a hash from another file
Use our instead of my as JavaFan suggests.
You could also consider do
to read it into your script.my %hash = do q{path/parameter.pl};
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to access a hash from another file
by vagabonding electron (Curate) on Oct 14, 2011 at 12:49 UTC |
In Section
Seekers of Perl Wisdom