Problems? Is your data what you think it is? | |
PerlMonks |
Working with Hashesby LovePerling (Initiate) |
on Jun 12, 2016 at 11:28 UTC ( [id://1165414]=perlquestion: print w/replies, xml ) | Need Help?? |
LovePerling has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I've a file containing mulitple hashes, say filename my_hash_list.pl . I want to write a code to fetch those hashes based on parameter passed to a new file, say file name fetch_hash.pl Eg (my_hash_list.pl) my contain.
now i want to get the hash from my second file, fetch_hash.pl by executing. perl fetch_hash.pl first_hash perl fetch_hash.pl second_hash perl fetch_hash.pl third_hash Can anyone help me with this. Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|