Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

making arrays that act like hashes at runtime

by dinesh (Initiate)
on Jul 01, 2002 at 11:17 UTC ( [id://178515]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $arrayreference = [{first =>1,second =>2 } , "hello ","there"];
    
  2. or download this
    print " $arrayreference->{first} \t  $arrayreference->{second} \n";
    
    ...
    
    
    >hello there
    

Log In?
Username:
Password:

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

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

    No recent polls found