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 wildcard.

In dos it would be *file*.*

What is it in perl?

I found the delete command as "unlink"
$gamedata="?player.dat?";
unlink($gamedata);

will this delete the file on the players computer or on my server????
I want it to delete the file on the players computer.

Thanks for your help.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to