develooper Front page | perl.beginners | Postings from April 2002

Re: Serious problem with perl -pi -e

Thread Previous | Thread Next
Paul Johnson
April 27, 2002 03:31
Re: Serious problem with perl -pi -e
Message ID:
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

Paul Johnson -

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About