our $lastname = $INPUT->param('lastname'); if ($lastname =~ /^[\s\w.'-]+$/ && length($lastname) < 28) { $lastname = $1; # $data now untain +ted } else { our $error_msg_xxx = '<li>Please Check the Last Name f +ield'; push my @form_values, "lastname"; $error_yes++; }
In reply to taint problem by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |