George_Sherston has asked for the wisdom of the Perl Monks concerning the following question:
Which returns#!/usr/bin/perl -w use strict; use CGI qw(:standard); use CGI::Carp qw(fatalsToBrowser); print header, h1('hello'); #$test = 1;
I get... yes, you guessed,[Wed Dec 12 13:02:40 2001] carptest.pl: Execution of carptest.pl abort +ed due to compilation errors. [Wed Dec 12 13:02:40 2001] carptest.pl: Global symbol "$test" requires + explicit package name at carptest.pl line 9.
Well hell, you don't say? I think I could have worked that out...Execution of foo.pl aborted due to compilation errors
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: CGI::Carp won't send fatalsToBrowser
by jeffa (Bishop) on Dec 12, 2001 at 20:27 UTC | |
|
Re: CGI::Carp won't send fatalsToBrowser
by Rhandom (Curate) on Dec 12, 2001 at 20:45 UTC | |
|
Re: CGI::Carp won't send fatalsToBrowser
by converter (Priest) on Dec 12, 2001 at 21:52 UTC | |
by George_Sherston (Vicar) on Dec 12, 2001 at 23:26 UTC | |
|
(tye)Re: CGI::Carp won't send fatalsToBrowser
by tye (Sage) on Dec 12, 2001 at 23:56 UTC | |
|
Re: CGI::Carp won't send fatalsToBrowser
by cLive ;-) (Prior) on Dec 12, 2001 at 23:42 UTC | |
by George_Sherston (Vicar) on Dec 13, 2001 at 02:23 UTC | |
by cLive ;-) (Prior) on Dec 13, 2001 at 05:22 UTC | |
by George_Sherston (Vicar) on Dec 13, 2001 at 19:17 UTC |