RE: regexing AND NOT

2003-06-06 Thread ted . weston
perlfaq6: (cut-n-paste to get the final - there) http://www.perldoc.com/perl5.8.0/pod/perlfaq6.html#How-do-I-match-a-pattern-that-is-supplied-by-the-user- How do I match a pattern that is supplied by the user? Well, if it's really a pattern, then just use chomp($pattern = STDIN); if

RE: how to check that we are getting something from form?

2003-06-06 Thread ted . weston
unless (param('name')) {die No content entered;} .ted -Original Message- From: Annie [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 5:46 PM To: [EMAIL PROTECTED] Subject: how to check that we are getting something from form? i want to know how i can check if my textfields are

RE: newbie question - re: form validation ?JUNK MAIL?

2003-05-31 Thread ted . weston
#*** NON-TESTED CODE *** # RUN AT YOUR OWN RISK :) use Time::Local; if ($in{'timestartPM'}) { # make a radio button set where either AM or PM is selected $in{'timestarthour'}+=12; } if ($in{'timeendPM'}) { $in{'timeendhour'}+=12; } #you'll have to do some error-checking for some

RE: Javascript and Perl Problem

2003-05-31 Thread ted . weston
You have some code for us to view? .ted -Original Message- From: Peter Fleck [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 12:09 PM To: [EMAIL PROTECTED] Subject: Javascript and Perl Problem I have some complex (at least to me) javascript on a perl-generated page that's not