![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: reading the hash information from a fileby palette (Scribe) |
on Feb 16, 2007 at 14:04 UTC ( #600432=note: print w/replies, xml ) | Need Help?? |
If I have understood your problem then I think the code below can be one of the solution.
As In Perl they say there are more than one ways to do it. Basically you want some form in which you can store the data to a file then you can collect the data back from the file to a variable. One way can be using Dumper, you can even use Storable.pm You can store this hash like this in a file
then whereever u want to retrieve the value back from this file to a variable you can use something like this.
In Section
Seekers of Perl Wisdom
|
|