On Sat, Apr 27, 2002 at 12:35:38PM +0530, sharan wrote:
> Hello,
> 
> I lost my files, while using perl -pi -e.
> I wanted to replace a world in a set of files, "perl -pi -e
> 's/somestring/somethingelse/g' *.pl"
> but, it gave error saying permission denied and all the files got deleted.
> 
> If it cant rewrite the files, at least it should not delete.

Hi Sharan,

Take a look at this document for a detailed explanation of what is
happeneing.

  http://www.perl.com/doc/FMTEYEWTK/file-dir-perms

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

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

Reply via email to