Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: print hash of hashes with a reference

by broomduster (Priest)
on Aug 16, 2008 at 21:24 UTC ( [id://704747]=note: print w/replies, xml ) Need Help??


in reply to Re^2: print hash of hashes with a reference
in thread print hash of hashes with a reference

Notice that the second level keys have whitespace at the end, and notice that your print statement uses a key of cmd (no whitespace). You should trim the whitespace when you construct the hash.

You should also take notice here that the values have \n (and possibly other whitespace) at the end (which may also bite you, depending on how you intend to use them).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-19 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found