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

Re: Use Hash? Array? Still confused after all these years.

by radiantmatrix (Parson)
on Jul 21, 2005 at 20:02 UTC ( [id://476980]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @array = ('one','two','three');
    ## Results in:
    |___0___|___1___|___2___|
    |  one  |  two  | three |
    
  2. or download this
    my %hash = (
       'radiantmatrix' => '/home/2004/radiantmatrix/',
    ...
    ## results in
    |_radiantmatrix____________|_somedude___________|
    |/home/2004/radiantmatrix/ | /home/2009/somedude|
    
  3. or download this
    my %hash = (
       'radiantmatrix' => { home => '/home/2004/radiantmatrix/', phone => 
    +'52123' },
       'somedude'      => { home => '/home/2009/somedude', phone => '52124
    +' }
    );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-03-28 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found