|Welcome to the Monastery|
Filtering unwanted chars from input fieldby Anonymous Monk
|on Dec 17, 2012 at 18:29 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I would like to know if anyone would have a better way of filtering a file name coming from form in a file upload script using Perl.
I use something like this:
Is there a better way? What if another character(s) gets in because its not listed in the subroutine?