Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-10-02 Thread Rajeev Prasad
can not say no to you. i am using CGI::Simple now. i will be moving over to mod_perl later. - Original Message - From: Randal L. Schwartz To: Rajeev Prasad Cc: "beginners@perl.org" Sent: Saturday, October 1, 2011 7:06 AM Subject: Re: How to get the multiselect sel

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-10-01 Thread Rob Dixon
On 01/10/2011 21:50, shawn wilson wrote: On Sep 30, 2011 12:59 PM, "Rob Dixon" wrote: On the contrary, I think you are missing a few brain cells yourself Shawn. Your friends at work may tolerate such obnoxious and juvenile language, otherwise they wouldn't be your friends, but the members of t

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-10-01 Thread Brandon McCaig
Shawn: On Sat, Oct 1, 2011 at 4:50 PM, shawn wilson wrote: > Also, the completely valid point was made that the validation > wouldn't effect browsers that don't support js. This generally > a moot point since 99% of the rest of a site won't work without > js anyway. That is only true of poorly c

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-10-01 Thread shawn wilson
On Sep 30, 2011 12:59 PM, "Rob Dixon" wrote: > > On 30/09/2011 12:26, Shawn Wilson wrote: >> >> >> You validate data with js? Are you f*g crazy? So, you think that >> >> if I want to hand you bad data I'm actually going to use your form to do it? > > > On the contrary, I think you are missing

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-10-01 Thread Randal L. Schwartz
> "Rajeev" == Rajeev Prasad writes: Rajeev> I thought it would be overkill (RAM, CPU etc.) to use CGI.pm Rajeev> when all i need is to get values out of form-variables. but i Rajeev> am going to settle for CGI::Simple CGI.pm is optimized though with it's own version of the lazy loader. If

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-10-01 Thread Peter Scott
On Sat, 01 Oct 2011 01:00:47 -0700, Rajeev Prasad wrote: > I thought it would be overkill (RAM, CPU etc.) to use CGI.pm when all i > need is to get values out of form-variables. but i am going to settle > for CGI::Simple Do you have any figures on how the trivial use of RAM/CPU by CGI.pm impacts

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-10-01 Thread Rajeev Prasad
, 2011 10:50 PM Subject: Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module >>>>> "Rajeev" == Rajeev Prasad writes: Rajeev> without using CGI.pm Whenever someone says "without $BEST_WAY_TO_DO_IT", I'm seriou

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread Brandon McCaig
On Fri, Sep 30, 2011 at 11:50 PM, Randal L. Schwartz wrote: > Whenever someone says "without $BEST_WAY_TO_DO_IT", I'm seriously > motivated to say "why not?  what is the restriction?". Well put, Randal. :D -- Brandon McCaig V zrna gur orfg jvgu jung V fnl. Vg qbrfa'

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread Brandon McCaig
Rajeev: On Fri, Sep 30, 2011 at 11:26 PM, Rajeev Prasad wrote: > point of that email was not where validation should happen?? it > was sent to find a solution(sample code) to the problem of > collecting value of a multi. > > you missed the point, > many people miss the point - it is common.

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread Randal L. Schwartz
> "Rajeev" == Rajeev Prasad writes: Rajeev> without using CGI.pm Whenever someone says "without $BEST_WAY_TO_DO_IT", I'm seriously motivated to say "why not? what is the restriction?". So, why not? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread Rajeev Prasad
son To: beginners@perl.org Sent: Friday, September 30, 2011 1:04 PM Subject: Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module On Fri, Sep 30, 2011 at 13:33, Rob Dixon wrote: > John, whether or not you meant it, you came over to me as criticising > Raj

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread John SJ Anderson
On Fri, Sep 30, 2011 at 13:33, Rob Dixon wrote: > John, whether or not you meant it, you came over to me as criticising > Rajeev for denouncing every reply to his question. But he said he was > talking to: > >> Mr. Shawn and all others who are etching to criticize ever, > > and his meaning is cle

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread Rob Dixon
On 30/09/2011 15:37, John SJ Anderson wrote: On Fri, Sep 30, 2011 at 10:19, Rajeev Prasad wrote: by the way, question was: how do you collect the value of a multiselect, without using CGI module. Octavian did answer that question; I'll do it again: John, whether or not you meant it, you c

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread Rob Dixon
On 30/09/2011 12:26, Shawn Wilson wrote: You validate data with js? Are you f*g crazy? So, you think that if I want to hand you bad data I'm actually going to use your form to do it? On the contrary, I think you are missing a few brain cells yourself Shawn. Your friends at work may tolerat

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread John SJ Anderson
On Fri, Sep 30, 2011 at 10:19, Rajeev Prasad wrote: > by the way, question was: how do you collect the value of a multiselect, > without using CGI module. Octavian did answer that question; I'll do it again: you collect the value of a multiselect by getting and parsing the value of the query st

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread Rajeev Prasad
e.     thx. From: Shawn Wilson To: "beginners@perl.org" Sent: Friday, September 30, 2011 6:26 AM Subject: Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module Rajeev Prasad wrote: >Hi, >  >without using CGI.pm

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread Shawn Wilson
Rajeev Prasad wrote: >Hi, >  >without using CGI.pm how can i collect the values of a multiselect >element? >  >say for e.g.: >  >< select name="hobbies" id="hobbies" multiple> >Reading Books >Writing Stories >Collecting Coins >Cross Stitching >Tenis >Playing Cricket >< /select> >  >when the for

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-30 Thread Shlomi Fish
ckage Size > Installed Size > Files > all220.1 kB 616.0 kB [list of files] > > > > From: Octavian Rasnita > To: Rajeev Prasad ; beginners@perl.org > Sent: Friday, September 30, 2011 12:43 AM > Subject: Re: How to get the multiselect select box or checkbox element v

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-29 Thread Rajeev Prasad
Rasnita To: Rajeev Prasad ; beginners@perl.org Sent: Friday, September 30, 2011 12:43 AM Subject: Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module From: "Rajeev Prasad" Hi, without using CGI.pm how can i collect the values of a multiselect ele

Re: How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-29 Thread Octavian Rasnita
From: "Rajeev Prasad" Hi, without using CGI.pm how can i collect the values of a multiselect element? say for e.g.: < select name="hobbies" id="hobbies" multiple> Reading Books Writing Stories Collecting Coins Cross Stitching Tenis Playing Cricket < /select> when the form is submitted, i have

How to get the multiselect select box or checkbox element values WITHOUT using CGI module

2011-09-29 Thread Rajeev Prasad
Hi,   without using CGI.pm how can i collect the values of a multiselect element?   say for e.g.:   < select name="hobbies" id="hobbies" multiple> Reading Books Writing Stories Collecting Coins Cross Stitching Tenis Playing Cricket < /select>   when the form is submitted, i have to get the selected