>
>
>
> -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---
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
>
&
>
> 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
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,
>
> 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
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
&
>> 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