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

Re: Idiom for looping thru key/value pairs

by MeowChow (Vicar)
on May 26, 2001 at 00:36 UTC ( [id://83423]=note: print w/replies, xml ) Need Help??


in reply to Idiom for looping thru key/value pairs

<shameless_plug> Use iter. </shameless_plug>

You can also idiomize your loop a bit:

my ($code, $text) = splice @subdata, 0, 2;
Also, check out this discussion.
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://83423]
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: (2)
As of 2024-04-19 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found