Luinrandir Hernsen wrote:
I have a group of files I need to delete.
They have a format like this.
c:\game\data\(variable)info.file(variable)
the actual file name is
c:[EMAIL PROTECTED]
I need to delete all files in this directory with the partial name of
"info.file"
where the (variable) is a wildc
system ("rm $file");
-Original Message-
From: Jan-Willem Haaring [mailto:[EMAIL PROTECTED]]
Sent: 23 November 2001 15:04
To: Wagner Garcia Campagner
Cc: [EMAIL PROTECTED]
Subject: Re: deleting a file
unlink("/directory/filename");
perldoc -f unlink
- JW
On Fri,
unlink("/directory/filename");
perldoc -f unlink
- JW
On Fri, 23 Nov 2001, Wagner Garcia Campagner wrote:
> Hi,
>
> Sorry for the stupid question, but i didn't find in the FAQ.
>
> What is the sintax to delete a file???
>
> Thanks in advance,
> Wagner Garcia Campagner
>
>
--
To unsubscribe,
On Fri, 23 Nov 2001, Wagner Garcia Campagner wrote:
> Sorry for the stupid question, but i didn't find in the FAQ.
>
> What is the sintax to delete a file???
unlink deletes a file.
perldoc -f unlink
-- Brett
http://www.chapelperilous.net/
-