volks,
when I run
perl Skank.pl
on the command line on my solaris and/or unix boxes it takes
the default path through the code and dumps out what the html
would be - but when I run the same code on my OSX box it dumps
out a weird case:
[jeeves:/tmp/drieux/perl] drieux% perl Crap.pl
Just press Control-D to skip that. I believe there's a way to disable
the prompting. Often this feature of CGI.pm is a good thing, as it
allows you to simulate submitting form variables, without having to
tweak your code for the command-line test cases.
I've never been clear as to what
on 4/12/02 12:35 PM, drieux at [EMAIL PROTECTED] wrote:
is this a feature or a bug?
I think it's a CGI.pm thing. It allows for testing with something like:
perl Skank.pl
(offline mode: enter name=value pairs on standard input)
name=me
color=red
end it with a control-D and the script uses
Use the -no_debug pragma:
use CGI qw( -no_debug );
For more info, check out:
http://stein.cshl.org/WWW/software/CGI/#import
Regards,
Tim Canon
[EMAIL PROTECTED]
on 2002.04.12 12:35, drieux at [EMAIL PROTECTED] wrote:
volks,
when I run
perl Skank.pl
on the command line on my
On Fri, Apr 12, 2002 at 10:59:19AM -0700, Alex S wrote:
Just press Control-D to skip that. I believe there's a way to disable
snip/
I've never been clear as to what toggles this to be on or off, but I'm
guessing it's some flag in CGI.pm.
It's related to the installed version of CGI.pm,
On Friday, April 12, 2002, at 11:27 , Timothy A. Canon wrote:
Use the -no_debug pragma:
use CGI qw( -no_debug );
For more info, check out:
http://stein.cshl.org/WWW/software/CGI/#import
#-
On Friday, April 12, 2002, at 11:25 , Bill Stephenson wrote:
on 4/12/02 12:59 PM, Alex