nysus has asked for the wisdom of the Perl Monks concerning the following question:
The error code reads:BEGIN { use CGI::Carp qw(carpout fatalsToBrowser); open (LOG, ">errorlog.txt") or die("Unable to open errorlog.txt: $!\n"); carpout(LOG); }
Any ideas?BEGIN not safe after errors--compilation aborted at /site_path/cgi-bin +/event/eventform.cgi line 12.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 'use strict' causing me an error
by japhy (Canon) on May 25, 2001 at 10:28 UTC | |
by nysus (Parson) on May 25, 2001 at 10:35 UTC | |
by snowcrash (Friar) on May 25, 2001 at 11:02 UTC | |
|
Re: 'use strict' causing me an error
by chipmunk (Parson) on May 25, 2001 at 18:28 UTC | |
|
Re: 'use strict' causing me an error
by nysus (Parson) on May 25, 2001 at 10:54 UTC | |
|
Re: 'use strict' causing me an error
by stuffy (Monk) on May 25, 2001 at 10:30 UTC |