Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

datastructure of array and hash?

by cool (Scribe)
on Aug 02, 2007 at 07:36 UTC ( [id://630227]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    use strict;
    ...
    {
    print "$array[$_]=>$_", "\n";
    }
    
  2. or download this
    #! /usr/bin/perl
    use strict;
    ...
    {
    print "$hash{$_}=>$_", "\n";
    }
    
  3. or download this
    [sid@nucleix scope]$ time perl hash.pl > A
    
    ...
    real    0m0.091s
    user    0m0.086s
    sys     0m0.005s
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found