in reply to strange behavior of regex
if($class eq 's' | $class eq 'x' | $class eq 'u'){
Note that | is a bit-wise OR, you probably meant || which is a logical OR.
Cheers,
JohnGG
In Section
Seekers of Perl Wisdom
in reply to strange behavior of regex
if($class eq 's' | $class eq 'x' | $class eq 'u'){
Note that | is a bit-wise OR, you probably meant || which is a logical OR.
Cheers,
JohnGG