> Thanks for the response!  However, when I try this
> perl -pi -e "s/wordToFind/replaceWithThisWord/gi" *.ext 
> with ActivePerl 5.6.1, on Windows 2000, I receive the error:
> 
> CAN'T DO IN PLACE EDIT WITHOUT BACKUP
> 
> Could this have something to do with Perl not reading from 
> and writing to a
> file at the same time?

It's a Windows thing. You have to give an arg to -i:

perl -pi.bak -e "s/wordToFind/replaceWithThisWord/gi" *.ext

Luke

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to