in reply to Mapster - co-operative maze mapping.
Your development efforts, and the lives of those who try to run your scripts elsewhere, might be eased somewhat if you were to add use CGI::Carp qw(fatalsToBrowser); to the tops of your scripts. Then you could safely add error checking to all of your open calls.
Before you spring this on the general populus, cleaning up your die messages might be in order. Reporting "404" for open failures is at best cute, and at worst misleading. If someone emails you to report "I tried your stuff and got a 404", you're not going to know whether it was an HTTP 404 or a 404 from one of your error messages, and you'll have to go an extra round of email before you can sort out the problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
I'm calling it Mapster!
by orkysoft (Friar) on Mar 18, 2001 at 02:49 UTC | |
|
Re: Re: Carp
by orkysoft (Friar) on May 05, 2001 at 09:07 UTC |