What does print $head print? Rather than just print the string I'd use Data::Dump or Data::Dumper (with $Data::Dumper::Useqq set to true) to display it, to see potential invisible characters
In reply to Re: Matching patterns in condisional statements
by Eily
in thread Matching patterns in condisional statements
by smturner1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |