CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Phrase Search

 



chander1986
Novice

Feb 11, 2009, 10:56 PM

Post #1 of 2 (298 views)
Phrase Search Can't Post

Hi,
I wanted to look for a phrase/multiple phrases in a file.i know how to look for a particular word but i am unable to develop a logic to search for a phrase.

Regards,
Chander


KevinR
Veteran


Feb 11, 2009, 11:11 PM

Post #2 of 2 (297 views)
Re: [chander1986] Phrase Search [In reply to] Can't Post

 

Code
if(/mary had a little lamb/) { 
.....
}

-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives