Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: while(<>) { ... } considered harmful

by Aristotle (Chancellor)
on Sep 08, 2002 at 05:15 UTC( #195983=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @idx = map /(id\d+)/, @items;
  2. or download this
    my @idx;
    /(id\d+)/ && push @idx, $1 for @items;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2016-08-29 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (409 votes). Check out past polls.