Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I'm using cgi.pm carp to print out compiler warnings. I'm running a script which processes information on various webpages. Sometimes when my program runs I start getting warning messages relating to cookies.pm. I'm not sure yet why this is. How might I terminate my program once carp makes a warning? The reason I need to do this is that if I re-run the script it will probably run the second time with no warnings, and fill my database with valid data. Thanks.