Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: foreach array - delete current row ?

by AnomalousMonk (Chancellor)
on Jun 03, 2013 at 07:01 UTC ( #1036678=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @list = grep( &keep_me, @list);
    
  2. or download this
    >perl -wMstrict -le
    "sub keep_me { return m{ [[:upper:]] }xms; }
    ...
     print qq{@list};
    "
    K E E P
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1036678]
help
Chatterbox?
and the monks are chillaxin'...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2017-12-16 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (449 votes). Check out past polls.

    Notices?