Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Can not print hash element

by lamp (Chaplain)
on Sep 23, 2008 at 02:05 UTC ( [id://713130]=note: print w/replies, xml ) Need Help??


in reply to Can not print hash element

use Data::Dumper module for debugging these kind of issues. The following is the output of '%table' hash using Data::Dumper before removing the space from your input. You can find spaces in front of all the country names.
use Data::Dumper; print Dumper(%table);
output
$VAR1 = ' Germany'; $VAR2 = [ 'Frankfurt', 'Berlin' ]; $VAR3 = ' Finland'; $VAR4 = [ 'Helsinki' ]; $VAR5 = ' USA'; $VAR6 = [ 'Chicago', 'Washington', 'New York' ];

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 04:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found