Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Hashes of arrays populated from a Text File

by hdb (Prior)
on Feb 26, 2014 at 15:46 UTC ( #1076272=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Hashes of arrays populated from a Text File
in thread Hashes of arrays populated from a Text File

Have you run toolic's code? It does exactly what you desire.


Comment on Re^3: Hashes of arrays populated from a Text File
Re^4: Hashes of arrays populated from a Text File
by Raya4505 (Novice) on Feb 26, 2014 at 16:42 UTC
    Yes, I did and I guess I must be missing something. It is printing out symbols. I'll toy with it some more, but the data output he showed isn't exactly what I'm looking for. Thank you though
      I didn't show any output. Here is the output I get:
      $VAR1 = { 'Name3' => [ '5415' ], 'Name1' => [ '1234', '5514' ], 'Name2' => [ '9999', '6419' ] };

      Read through perldsc to print it out in whatever format you desire.

      "...It is printing out symbols..."

      What Symbols? I've lost my Crystal_ball (or i miss something). Regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

Re^4: Hashes of arrays populated from a Text File
by Raya4505 (Novice) on Feb 26, 2014 at 17:23 UTC
    Good grief. I am so silly. I had a typo. It works perfectly. You rock, I stink! Thanks so much!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1076272]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2015-07-05 10:43 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 (61 votes), past polls