Feb 5, 2001, 6:25 AM
Post #14 of 15
Ok, if you read the documentation, you'll find out that the unlink() function takes a LIST of filenames to delete, NOT a file-glob. If you want to use a file-glob, use the glob() function.
Jeff "japhy" Pinyan -- accomplished hacker, teacher, lecturer, and author
unlink glob "/path/to/files/*" or die "... $!";