in reply to Re^4: use CGI::Carp qw(fatalsToBrowser); (is compile-time)
in thread use CGI::Carp qw(fatalsToBrowser);
And here's my experiment:
yields#!/usr/bin/perl use CGI::Carp qw( fatalsToBrowser ); asfgafhafh print "Hello";
...which is just lovely if you have command-line access, but doesn't do you a lick of good through a browser (you'll just get a Error 500) even though the syntax error occurs after the use.bash-2.05a$ perl test.pl syntax error at test.pl line 7, near "asfgafhafh print" Execution of test.pl aborted due to compilation errors. bash-2.05a$
Gary Blackburn
Trained Killer
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: use CGI::Carp qw(fatalsToBrowser); (strange)
by tye (Sage) on Apr 10, 2003 at 16:02 UTC | |
by Trimbach (Curate) on Apr 10, 2003 at 17:45 UTC |
In Section
Seekers of Perl Wisdom