XP is just a number | |
PerlMonks |
Re: Parse a file and store it in hash of hashesby rahulruns (Scribe) |
on Jan 16, 2017 at 10:13 UTC ( [id://1179653]=note: print w/replies, xml ) | Need Help?? |
Few Ideas, you data will look arranged in a better way if you use xml rather than plain file, with that you could parse your xml and store elements of xml as key and value of that element as value for your key. If you want to use only from a plain file you could split on basis of = sign and store them in hash look something like Remember this is not complete code, it is just to give you hint
In Section
Seekers of Perl Wisdom
|
|