in reply to Re^2: Filtering unwanted chars from input field
in thread Filtering unwanted chars from input field
sub filter { my $str = shift; defined $str or return ''; $str =~tr{A-Za-z0-9_.-}{}cd; return $str; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Filtering unwanted chars from input field
by johngg (Canon) on Dec 18, 2012 at 14:14 UTC | |
by Anonymous Monk on Dec 19, 2012 at 20:51 UTC | |
by johngg (Canon) on Dec 19, 2012 at 23:18 UTC |