Experts,
I need to develop a perl code to catch invalid user inputs. In my case, a backslash ("\") is considered invalid.
Here is my code:
my @invalidCharList = ('-', '\+', '\.', '/', '\\');
#my @invalidCharList = ('-', '\+', '\.', '/');
print "$0..testing..., @invalidCharList\n";
print...