Re: handling multiple select with CGI

2004-03-17 Thread Randal L. Schwartz
> "Andrew" == Andrew Gaffney <[EMAIL PROTECTED]> writes: Andrew> I have a Perl script which uses the CGI module which needs to be able Andrew> to get all the selected items in a SELECT. I see that the request Andrew> comes in as 'selectname=item1&selectname=item2&selectname=item3'. If I Andrew

Re: handling multiple select with CGI

2004-03-17 Thread Andrew Gaffney
Wiggins d Anconia wrote: I have a Perl script which uses the CGI module which needs to be able to get all the selected items in a SELECT. I see that the request comes in as 'selectname=item1&selectname=item2&selectname=item3'. If I do '$p = $cgi->Vars', wouldn't I only get the last value? F

Re: handling multiple select with CGI

2004-03-17 Thread Andrew Gaffney
Charles K. Clarkson wrote: Andrew Gaffney [mailto:[EMAIL PROTECTED] : : I have a Perl script which uses the CGI module which needs to : be able to get all the : selected items in a SELECT. I see that the request comes in as : 'selectname=item1&selectname=item2&selectname=item3'. If I do : '$p

Re: handling multiple select with CGI

2004-03-17 Thread Wiggins d Anconia
> I have a Perl script which uses the CGI module which needs to be able to get all the > selected items in a SELECT. I see that the request comes in as > 'selectname=item1&selectname=item2&selectname=item3'. If I do '$p = $cgi->Vars', wouldn't > I only get the last value? >From the CGI.pm doc

RE: handling multiple select with CGI

2004-03-17 Thread Charles K. Clarkson
Andrew Gaffney [mailto:[EMAIL PROTECTED] : : I have a Perl script which uses the CGI module which needs to : be able to get all the : selected items in a SELECT. I see that the request comes in as : 'selectname=item1&selectname=item2&selectname=item3'. If I do : '$p = $cgi->Vars', wouldn't :

handling multiple select with CGI

2004-03-17 Thread Andrew Gaffney
I have a Perl script which uses the CGI module which needs to be able to get all the selected items in a SELECT. I see that the request comes in as 'selectname=item1&selectname=item2&selectname=item3'. If I do '$p = $cgi->Vars', wouldn't I only get the last value? -- Andrew Gaffney Network Admi

Re: changing system password

2004-03-17 Thread Andrew Gaffney
Paul Archer wrote: My guess is that since you're running sudo, sudo itself is asking for a password *for the nobody/apache account*, where it's set up not to ask you for a password (which is bad mojo), or you already ran sudo once and you've got a valid ticket. Well, I don't know why my script didn

Re: changing system password

2004-03-17 Thread Paul Archer
My guess is that since you're running sudo, sudo itself is asking for a password *for the nobody/apache account*, where it's set up not to ask you for a password (which is bad mojo), or you already ran sudo once and you've got a valid ticket. Paul Archer 11:38am, Andrew Gaffney wrote: > I'm desi

changing system password

2004-03-17 Thread Andrew Gaffney
I'm designing a simplified user management interface, similar to Webmin's. Since I'm using mod_perl, I just allowed the 'apache' user to execute certain commands using sudo. I've written a command line version that works just fine: #!/usr/bin/perl use Expect; my $user = shift; my $password = s

Re: Standarized tests

2004-03-17 Thread Brad Lhotsky
Forgot to copy the group! - Forwarded message from Brad Lhotsky <[EMAIL PROTECTED]> - From: Brad Lhotsky <[EMAIL PROTECTED]> To: Camilo Gonzalez <[EMAIL PROTECTED]> Subject: Re: Standarized tests Date: Wed, 17 Mar 2004 11:40:24 -0500 User-Agent: Mutt/1.4i Message-ID: <[EMAIL PROTECTED]>

OT: Re: Standarized tests

2004-03-17 Thread Wiggins d Anconia
> Are there any standarized tests one can take to measure one's Perl > prowess? How much are they and where can I find them? > This comment is pretty off topic for a CGI specific list. It has been discussed a couple of times in the jobs-discuss list and the advocacy list (I think), particularly

Standarized tests

2004-03-17 Thread Camilo Gonzalez
Are there any standarized tests one can take to measure one's Perl prowess? How much are they and where can I find them? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]