Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Do I need an array within an array

by thunders (Priest)
on Oct 09, 2002 at 19:09 UTC ( [id://204019]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %colors =(
                    english=>[qw/red blue yellow/],
    ...
    
    $lang = 'spanish';
    print $colors{$lang}[0];
    
  2. or download this
    
    %colors =(
    ...
    $language = 'spanish';
    
    print $colors{$color}{$language};
    

Log In?
Username:
Password:

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

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

    No recent polls found