http://www.perlmonks.org?node_id=828086


in reply to Improving the Error Handling of my Scripts

All,

Thank you very much for the responses. I didn't even think about just having cron mail me the output. Very simple and elegant solution (which are always the best).

Also, thank you for determining the current line number of one's script. I knew this had to be possible, and I thought there was a special variable for it, but I was not able to find it.

Thanks,
Dru

Perl, the Leatherman of Programming languages. - qazwart