in reply to minpulating a file

A simplification of your code will fix it,

while(<MYFILE>){ s/ORA3=\w+/ORA3=0/; print COPYFILE $_; }
The space in your match was hurting you.

And then there is always the command-line edit-in-place version: $ perl -pi -e's/ORA3=\w+/ORA3=0/' file

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: manpulating a file
by Jaki1980 (Novice) on Jan 15, 2004 at 05:52 UTC
    Zaxo , thanks much for the quick respones . thats helped a lot.