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 toggles this to be on or off, but I'm 
guessing it's some flag in CGI.pm.

-Alex

Bruce Van Allen wrote:

> At 10:35 AM -0700 4/12/02, drieux wrote:
>
>> 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
>> (offline mode: enter name=value pairs on standard input)
>
>
> [snip]
>
>>
>> is this a feature or a bug?
>
>
> It's a feature of CGI.pm to allow offline mode. Otherwise it expects 
> http/CGI input from STDIN. Why you're getting this behavior in your 
> Mac OSX installation but not in others, I don't know, but I'd suggest 
> starting with your usage of CGI.pm. Then maybe how your OSX command 
> line takes args.
>
> HTH
>
> 1;




Reply via email to