Hi,

I have many forms, and basically I just need to receive either a number or
characters or both.
this is how I check


my ($value,%result,$name);
foreach (param){
    $name = $_;
    $name =~ s/\s$//;##take the space at the end
    $name =~ s/[^a-zA-Z0-9]//g;##all none character is change into nothing
    $value = param($_);
    $value =~ s/\s$//;## take the space at then end
    $value =~ s/[^a-zA-Z0-9]//g;##all none character is change into nothing
    $result{$_}=$value;
}

Is that a good way to do it, because sometimes I can get 15 variables and it
is a PAIN to check everyone.

thank you,



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to