in reply to comparison of character
probably because you used || instead of or
its (...) || (...) ... or ... or ... or ...
You're typing "||" when you should be using "or"
Common Perl Pitfalls / perltrap , "or die" versus "|| die", and two more To || or not to or and why., Perl Idioms Explained - && and || "Short Circuit" operators, || die or or die :)
In Section
Seekers of Perl Wisdom