Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

regexp question

by kidd (Curate)
on Aug 19, 2002 at 15:53 UTC ( #191209=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @query = ('red', 'blue', 'white');
    
    my $line = "That is a blue wall";
    
  2. or download this
    foreach my $query(@query){
      next if $query eq '';
            print "I found: $query" if $line =~ /\Q$query/;
         }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://191209]
Approved by Rex(Wrecks)
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-03-05 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (141 votes), past polls