nysus has asked for the wisdom of the Perl Monks concerning the following question:
The following code:
...produces an Internal Server Error for the obvious reason that "prnt" should be "print". But why can't I get this compile time error to appear in the browser window? How come "fatalsToBrowser" doesn't work in this case?use CGI; use CGI::Carp qw(fatalsToBrowser); $query = new CGI; print $query->header; prnt "hello";
I've read the Carp documentation but that didn't help me much.
Thanks!
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Gettin ALL errors with carp module
by Masem (Monsignor) on May 20, 2001 at 16:16 UTC | |
by nysus (Parson) on May 20, 2001 at 16:27 UTC | |
by Masem (Monsignor) on May 20, 2001 at 17:23 UTC | |
by nysus (Parson) on May 20, 2001 at 18:59 UTC | |
by nysus (Parson) on May 20, 2001 at 20:11 UTC | |
by chipmunk (Parson) on May 20, 2001 at 20:39 UTC | |
by webmaster33 (Initiate) on May 21, 2001 at 06:28 UTC |