RE: Reg:Regular expression

2009-04-15 Thread Owen
> > > > -Original Message- > From: Owen [mailto:rc...@pcug.org.au] > Sent: Wednesday, April 15, 2009 3:16 PM > To: Gowri Chandra Sekhar Barla, TLS, Chennai > Subject: RE: Reg:Regular expression > >> >> >> >> -Original Message---

RE: Reg:Regular expression

2009-04-15 Thread Gowri Chandra Sekhar Barla, TLS, Chennai
Hi owen, Please find the test.txt in theattachments. Thanks and regards, Gowri -Original Message- From: Owen [mailto:rc...@pcug.org.au] Sent: Wednesday, April 15, 2009 2:19 PM To: Gowri Chandra Sekhar Barla, TLS, Chennai Cc: Perl Beginners Subject: RE: Reg:Regular expression > &

RE: Reg:Regular expression

2009-04-15 Thread Owen
> > Hi owen, > > Please help me in resolving errors in the following script > > open(INPUT," open(OUTPUT,">new.txt"); > $temp = \/user\/gowri\/remote2; > while ( ) { > $_ =~ s{\\/user\\/cce\\/g_tool}{$temp}; > print OUTPUT $_; > } Well, I can try. But why don't you help me by sending a few l

RE: Reg:Regular expression

2009-04-15 Thread Gowri Chandra Sekhar Barla, TLS, Chennai
Sent: Wednesday, April 15, 2009 1:44 PM To: Gowri Chandra Sekhar Barla, TLS, Chennai Cc: Perl Beginners Subject: RE: Reg:Regular expression > > Hi . > > > > Please help me in resolving errors in the following script > > > > 1.open(INPUT," > 2.open(OUTPUT,

RE: Reg:Regular expression

2009-04-15 Thread Owen
> > Hi . > > > > Please help me in resolving errors in the following script > > > > 1.open(INPUT," > 2.open(OUTPUT,">new.txt"); > > 3.$temp = \/user\/gowri\/rem2; > > 4.while ( ) { > > 5.$_ =~ s{\\/user\\/cce\\/dbg_tool}{$temp}; > > 6.print OUTPUT $_; > > 7.} > > > > Errors: > > Bareword found wh

RE: Reg:Regular expression

2009-04-15 Thread Gowri Chandra Sekhar Barla, TLS, Chennai
From: Emen Zhao [mailto:emenzhaow...@gmail.com] Sent: Wednesday, April 15, 2009 12:27 PM To: Gowri Chandra Sekhar Barla, TLS, Chennai Cc: Beginners List Subject: Re: Reg:Regular expression >> I need to replace \/user\/cce\/g_tool with the variable $temp where &

Re: Reg:Regular expression

2009-04-14 Thread Emen Zhao
>> I need to replace \/user\/cce\/g_tool with the variable $temp where >> $temp=\/user\ /gowri\/rem2 $string =~ s{\\/user\\/cce\\/g_tool}{$temp} HTH, Thanks, --Emen