Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Elegance, dammit!

by sfink (Deacon)
on Jun 16, 2007 at 21:10 UTC ( [id://621621]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (@ref) {
      my $k = shift(@ref);
      $out{$k} = [ shift(@ref), shift(@ref) ];
    }
    
  2. or download this
    while (@ref) {
      $out{$_} = [ shift(@ref), shift(@ref) ] for shift(@ref);
    }
    
  3. or download this
    push @{ $out{shift(@ref)} }, shift(@ref) while (@ref);
    

Log In?
Username:
Password:

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

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

    No recent polls found