in reply to Re: CGI OO 'param' vs. hash
in thread CGI OO 'param' vs. hash
if ($prm{'name'} =~ s/[^\w \-]//g) { $warning .= '<LI>Illegal characters were removed from your Login N +ame. Only letters, numbers, spaces, underscores and dashes are allowe +d.'; }
Your way is more elegant though. Gives me something to think about.
--
man with no legs, inc.
|
|---|