Problems? Is your data what you think it is? | |
PerlMonks |
Calling a Variable from another fileby monkfan (Curate) |
on Jun 22, 2005 at 13:35 UTC ( [id://469004]=perlquestion: print w/replies, xml ) | Need Help?? |
monkfan has asked for the wisdom of the Perl Monks concerning the following question:
For example I have a hash created with Data::Dumper, stored in a variable $res,
in a file called "mydata.pl"
And I would like to use that variable for my "main.pl" file. Can we do that? Just as we call a function. I hope that`s a reasonable question. Thanks beforehand.
Regards, Edward
Back to
Seekers of Perl Wisdom
|
|