Dunno why you've got open in there, the following ought to do what you want
chdir "/directory/with/files/to/kibosh"; unlink <*.txt>;
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
In reply to Re: Unlinking...
by arturo
in thread Unlinking...
by damian1301
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |