Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I'm fairly new to Perl and particularly new to it for CGI
I want to get the basic right for seeing debug output to my browser
so far I have
#!/usr/bin/perl -wT BEGIN { $|=1; print "Content-type: text/html\n\n"; use CGI::Carp('fatalsToBrowser'); } use strict; use CGI; $var = 'hello world'; print $var;
This doesn't give me the compilation errors that it should(?).
Is there anything else I can add to make this more verbose.
I want to be able to see all the compilation warnings that use strict offers me
thanks in advance of any help
Cyril
jdporter - edited - added proper html and code tags
20040324 Edit by castaway: Changed title from 'cgo::carp compilation errors'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cgi::carp compilation errors (bug)
by tye (Sage) on Mar 24, 2004 at 06:09 UTC | |
|
Re: CGI::Carp compilation errors
by neniro (Priest) on Mar 23, 2004 at 21:22 UTC | |
by Anonymous Monk on Mar 23, 2004 at 22:56 UTC | |
|
Re: CGI::Carp compilation errors
by eXile (Priest) on Mar 24, 2004 at 01:48 UTC | |
|
Re: CGI::Carp compilation errors
by ambrus (Abbot) on Mar 24, 2004 at 15:48 UTC |