Your example also works as expected (prints "yes") for perl 5.14.1 brewed on Mac OS X. Maybe Devel::Peek's Dump function would show some abnormality with your scalar?
In reply to Re: pattern match against in-memory file causes odd behavior
by juster
in thread pattern match against in-memory file causes odd behavior
by kixix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |