[EMAIL PROTECTED] wrote:
Hi
Hello,
How best to debug a form that requires user to input data?
What do you mean "debug a form"? Do you mean validate wah they enter?
With some programming lang it is possible to single step line by line. Is it possible with perl?
Yes I imagine its very possible and quite easy to do with perl, but we need a bit more info :)
one thing you could do:
use strict; use warnings; use CGI 'param';
my $year = param('year');
if($year !~ m/^\d+$/) { die 'Year needs to be all digits!'; }
HTH :)
Lee.M - JupiterHost.Net
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>