I'd change that to:print "removing $_\n"; unlink;
Otherwise you'll never know what went wrong.print "removing $_: "; print unlink $_ ? "$!\n" : "ok\n";
-- Randal L. Schwartz, Perl hacker
In reply to Re: Re: checking file size
by merlyn
in thread checking file size
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |