Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re (tilly) 1: Speeding up large file sorts

by tilly (Archbishop)
on Nov 30, 2001 at 08:26 UTC ( #128548=note: print w/replies, xml ) Need Help??


in reply to Speeding up large file sorts

An important detail on your die checks for your open statements.

As pointed out in perlstyle, a useful error message should pass through any information about why you had an error, and should include enough information that if you have to debug the problem, you will have information on where to start. In your case the easiest way to do that is to include $! in your error message and remove the newline.

I consider this change extremely important, for reasons that would be apparent to you if you had ever been at work trying to get someone else's process back up running so it can finish a critical job...

  • Comment on Re (tilly) 1: Speeding up large file sorts

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2023-12-06 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (32 votes). Check out past polls.

    Notices?