in reply to Error reporting in modules
Eg:
open(LOG,"<logfile") || die "Can't read log file for parsing - $!";
I have a bunch of sudo scripts that have to be very locked down. I expect the calling script to know exactly what it's doing. If it doesn't I assume there's some bad juju going on and die - even if it could technically continue.
I also use a trace through caller() to help with debugging, but that's another issue :)
cLive ;-)
|
|---|