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

Re: Sorting two dimensional arrays

by mpd (Monk)
on Aug 16, 2003 at 22:41 UTC ( [id://284373]=note: print w/replies, xml ) Need Help??


in reply to Sorting two dimensional arrays

here's a snippet that should help:
#!/usr/bin/perl -w use strict; my @arr = ( ['one','two','three','four'], ['first','second','third','fourth'], ['jim','bob','bill','sally'], ); print $arr[1]->[1]; # prints "second"
hope that helps.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://284373]
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: (5)
As of 2024-04-23 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found