#!/usr/bin/perl opendir DOT, "."; unlink grep { -f and not /\.html$/ } readdir DOT;
-- Randal L. Schwartz, Perl hacker
In reply to RE: I agree, honest.
by merlyn
in thread List non-matching files
by fundflow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |