Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to access a hash from another file

by wfsp (Abbot)
on Oct 14, 2011 at 12:40 UTC ( #931510=note: print w/replies, xml ) Need Help??


in reply to How to access a hash from another file

Use our instead of my as JavaFan suggests. You could also consider do
my %hash = do q{path/parameter.pl};
to read it into your script.

Replies are listed 'Best First'.
Re^2: How to access a hash from another file
by vagabonding electron (Chaplain) on Oct 14, 2011 at 12:49 UTC
    Thank you very much wfsp, it works this way!
    VE

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://931510]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2016-12-03 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (52 votes). Check out past polls.