Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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.


Comment on Re: How to access a hash from another file
Select or Download Code
Re^2: How to access a hash from another file
by vagabonding electron (Hermit) 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2015-07-06 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls