Problems? Is your data what you think it is? PerlMonks

### Re^4: Hashes of arrays populated from a Text File

by Raya4505 (Novice)
 on Feb 26, 2014 at 16:42 UTC ( #1076283=note: print w/replies, xml ) Need Help??

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
• Comment on Re^4: Hashes of arrays populated from a Text File

Replies are listed 'Best First'.
Re^5: Hashes of arrays populated from a Text File
by toolic (Bishop) on Feb 26, 2014 at 16:46 UTC
I didn't show any output. Here is the output I get:
\$VAR1 = {
'Name3' => [
'5415'
],
'Name1' => [
'1234',
'5514'
],
'Name2' => [
'9999',
'6419'
]
};
[download]

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

Re^5: Hashes of arrays populated from a Text File
by karlgoethebier (Parson) on Feb 26, 2014 at 16:56 UTC
"...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»

Create A New User
Node Status?
node history
Node Type: note [id://1076283]
help
Chatterbox?
 [thezip]: Is there an analogy for '&' (ie. run commandline process in background) for Windows commandline? [Corion]: thezip: start "some title" path\to\that\ application, but that will open another console window [Corion]: thezip: If you want to confuse your users, use system(1, "that\\command" );, which will make Perl launch it in the background [Corion]: That will keep the console window open even though the user can't type into it anymore [thezip]: So I have a script that generates a log file. After script completion, I want tohave VIM open this logfile.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (14)
As of 2017-03-27 18:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
Should Pluto Get Its Planethood Back?

Results (321 votes). Check out past polls.