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

2011-10-01 Thread Rajeev Prasad
Randal, 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 - Original Message - From: Randal L. Schwartz To: beginners@perl.org; Rajeev Prasad Cc: Sent: Friday, September 30, 2

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: Why perlcritic complains?

2011-10-01 Thread Lubos Kolouch
Paul Johnson, Fri, 30 Sep 2011 20:26:50 +0200: > On Fri, Sep 30, 2011 at 05:34:46PM +, Lubos Kolouch wrote: > >> Hello again, >> >> So it seems perlcritic is perhaps right - when I swap the lines my >> @array; and open ..., it does not complain anymore. >> >> So I guess it is in facts corre

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

List Experience

2011-10-01 Thread Ron Weidner
I've had mixed feelings about my experience on this list so far. I'm sharing these opinions because I feel it would be awesome if this list seemed friendlier to beginners. Several years ago I subscribed to this list and unsubscribed almost as quick as I could. The harshness of the responses

Re: List Experience

2011-10-01 Thread AndrewMcHorney
I agree with you Ron At 07:05 AM 10/1/2011, Ron Weidner wrote: I've had mixed feelings about my experience on this list so far. I'm sharing these opinions because I feel it would be awesome if this list seemed friendlier to beginners. Several years ago I subscribed to this list and unsubscrib

RE: List Experience

2011-10-01 Thread Thayub Hashim
I too agree with you . Lets share knowledge not feelings . Peace . Sent from my Windows Phone From: AndrewMcHorney Sent: 01 October 2011 23:15 To: Ron Weidner; Beginner Perl Subject: Re: List Experience I agree with you Ron At 07:05 AM 10/1/2011, Ron Weidner wrote: > >I've had mixed feelings abo

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

Validating input

2011-10-01 Thread Octavian Rasnita
Hi, Does anyone have some suggestions for what restrictions should be used on a site to be secure? Do you know some sites where I can get information about this subject? Most of the text I read said that the variables should be filtered before inserting them in DB, but never gave details for wha

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

Cannot bind a reference

2011-10-01 Thread Jeffrey Joh
Hello, I am trying to run an insert statement with DBI. $dbh->do(q{insert into zillow_table values (?,?,?,?,?,?,?,?)},undef,($homeid,$code,$text,$pid,$street,$city,$state,$zlastupdated)); However, I get "Cannot bind a reference" error. Why does that occur? $dbh is part of a foreach l

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: Cannot bind a reference

2011-10-01 Thread Rob Dixon
On 01/10/2011 23:16, Jeffrey Joh wrote: > > I am trying to run an insert statement with DBI. > > $dbh->do(q{insert into zillow_table values > (?,?,?,?,?,?,?,?)},undef,($homeid,$code,$text,$pid,$street,$city,$state,$zlastupdated)); > > However, I get "Cannot bind a reference" error. Why does th

Re: Validating input

2011-10-01 Thread Shlomi Fish
On Sun, 2 Oct 2011 00:07:34 +0300 "Octavian Rasnita" wrote: > Hi, > > Does anyone have some suggestions for what restrictions should be used on a > site to be secure? > Do you know some sites where I can get information about this subject? > Most of the text I read said that the variables shoul