Hi,
Of Couse!! I had forgot about the unlink () command.
Thanks for that reminder Kevin :-)
Regards,
Thomas Adam
----- Original Message -----
From: Kevin Meltzer <[EMAIL PROTECTED]>
To: n6tadam <[EMAIL PROTECTED]>
Cc: Stéphane JEAN BAPTISTE <[EMAIL PROTECTED]>;
PERL <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 3:11 PM
Subject: Re: to delete a file
> On Thu, Jun 21, 2001 at 03:04:21PM +0100, n6tadam
([EMAIL PROTECTED]) spew-ed forth:
> > Hi,
> >
>
> [snip]
>
> >
> > Of course, from a perl script, you can either use:
> >
> > system("/bin/rm -f /path/to/filename");
> >
> > or
> >
> > `rm -f filename`
>
> Don't do that. Just use unlink()
>
> perldoc -f unlink
>
> Cheers,
> Kevin
>
> --
> [Writing CGI Applications with Perl - http://perlcgi-book.com]
> Nuclear explosions under the Nevada desert? What the f*ck are we testing
for?
> We already know the sh*t blows up.
> -- Frank Zappa
>
>
Please note that the content of this message is confidential between the original
sender and the intended recipient(s) of the message. If you are not an intended
recipient and/or have received this message in error, kindly disregard the content of
the message and return it to the original sender.
If you have any complaints about this message please reply to:
[EMAIL PROTECTED]
The Purbeck School E-Mail server running:
users.purbeck.dorset.sch.uk