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

Re: filtering an array

by jwkrahn (Monsignor)
on Sep 01, 2012 at 20:18 UTC ( #991192=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    push @positions, [ $read->end + 1, $base ];
    
  2. or download this
    @positions = grep $_->[ 1 ] =~ /ac/i, @positions;
    
  3. or download this
    @positions = map $_->[ 0 ], @positions;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991192]
help
Chatterbox?
Discipulus ruling monthly best.. oh tempora oh mores..

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2017-11-24 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (351 votes). Check out past polls.

    Notices?