Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Array of Hashes in subroutines.

by suhailck (Friar)
on Sep 18, 2010 at 17:06 UTC ( [id://860648]=note: print w/replies, xml ) Need Help??


in reply to Array of Hashes in subroutines.

You can write the line

 print "$j: $hash1{$j}[0] $hash1{$j}[1] $hash1{$j}[2]\n";

as

print "$j: @{$hash1{$j}}\n";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-23 23:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found