perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <>
Subject Re: about asp exe
Date Mon, 19 Nov 2001 00:35:53 GMT
Ruggero Manzoni wrote:
> Hi,
> I'am tring to use the asp program to test some *.asp
> files,
> but I don't understand how to pas parameters to the
> program.
> I tried :
>  ./asp somefile.asp user=xxx pass=xxx
> and also :
>   ./asp somefile.asp user xxx pass xxx
> and it doesn't work.
> I'am sorry but I don't understand the help on the asp
> exe.

Try without the = between the args:

]# cat test_asp_command.asp 
 print Data::Dumper::Dumper( $Request->QueryString );


]# asp test_asp_command.asp hi there
Content-Type: text/html
Cache-Control: private
Content-Length: 108

$VAR1 = bless( {
                 'hi' => 'there'
               }, 'Apache::ASP::Collection' );


I'll clarify the asp --help with this help text for the next release:

The @arguments will be written as space separated 
words, and will be initialized as an associate array where
%arguments = @arguments.  As an example:

 asp file.asp key1 value1 key2 value2

would be similar to calling the file.asp in a web environment like



Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA                1-714-625-4051

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message