Re: search option in perl

2006-07-19 Thread Prasad
""Sayed, Irfan (Irfan)"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] .. Hi all, I need to search a file for a specific string thru perl script. for example i want to put following condition in the script. --- > first search the string string1 > and if that string found then

Re: search option in perl

2006-07-18 Thread D. Bolliger
Hi Irfan [...] > hi rob, > > Thanks for your mail. > > let me modify my request in more clear manner. > basically I have one file. The format of that file is as follows. > > Replica name : some string > master replica : some string > hostname : some string > > replica name : some s

RE: search option in perl

2006-07-18 Thread Sayed, Irfan \(Irfan\)
-Original Message- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 9:47 PM To: beginners@perl.org Subject: Re: search option in perl Sayed, Irfan (Irfan) wrote: > >> -Original Message- >> From: Rob Dixon [mailto:[EMAIL PROTECTED] &

Re: search option in perl

2006-07-18 Thread Rob Dixon
Sayed, Irfan (Irfan) wrote: > >> -Original Message- >> From: Rob Dixon [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, July 18, 2006 9:09 PM >> To: beginners@perl.org >> Subject: Re: search option in perl >> >> Sayed, Irfan (Irfan) wrote: >&g

RE: search option in perl

2006-07-18 Thread Sayed, Irfan \(Irfan\)
- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 9:09 PM To: beginners@perl.org Subject: Re: search option in perl Sayed, Irfan (Irfan) wrote: > Hi all, > > I need to search a file for a specific string thru perl script. > > for example i want t

Re: search option in perl

2006-07-18 Thread Rob Dixon
Sayed, Irfan (Irfan) wrote: Hi all, I need to search a file for a specific string thru perl script. for example i want to put following condition in the script. --- > first search the string string1 > and if that string found then search for another string string2 > if both the s