Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: checking file size

by merlyn (Sage)
on Apr 19, 2001 at 17:16 UTC ( [id://73809]=note: print w/replies, xml ) Need Help??


in reply to Re: checking file size
in thread checking file size

print "removing $_\n"; unlink;
I'd change that to:
print "removing $_: "; print unlink $_ ? "$!\n" : "ok\n";
Otherwise you'll never know what went wrong.

-- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://73809]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-24 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found