in reply to Re: checking file size
in thread checking file size
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 Section
Seekers of Perl Wisdom