For example, it seems common that people expect that do FILE will import lexicals (despite the docs).
Yeah, I see your (valid) point. And there's more to it:
So yes, using do FILE without really knowing what it does can give unexpected results - but that's true for many more wonderful perl constructs, our not being the last... ;-)
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re^4: strict/do question
by shmem
in thread strict/do question
by dch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |