Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Efficient giant hashes

by dragonchild (Archbishop)
on Mar 10, 2005 at 15:32 UTC ( [id://438294]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @x = 1 .. 5;
    sub get_x { @x }
    ...
        $v *= 2;
    }
    print "@x\n";
    
  2. or download this
    while (my ($k, $v) = each %hash) {
        $hash{ $k . 'a' } = 1;
    ...
    foreach my $k (keys %hash) {
        $hash{ $k . 'a' } = 1;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-25 19:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found