Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Reverse grep?

by chipmunk (Parson)
on Mar 02, 2002 at 17:23 UTC ( [id://148853]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @results = grep { $_ & 1 } (1 .. 10)
  2. or download this
    my $url = 'http://www.perlmonks.org/';
    my @regexes = ('/private(?:/|$)', 'python');
    if (grep { $url =~ $_ } @regexes) {
    ...
    } else {
      # handle good URL
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found