Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: don't get bit by split.

by runrig (Abbot)
on Mar 21, 2001 at 21:43 UTC ( [id://66070]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @matches = grep { /$pattern/ } @names;
    
  2. or download this
    my @matches = grep { $names[$_] =~ /$pattern/ } 0..$#names;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-03-29 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found