Oh, I see what you're saying. If expecting a regex, you can use a bareword and it gets promoted first to a string, then to a regex, all without tripping use strict! I don't think that's documented.$x = 'ab'; $x = ab;
-- Randal L. Schwartz, Perl hacker
In reply to RE: Odd...
by merlyn
in thread Odd...
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |