and in "file.pl"$r = do "file.pl"
{}
update: by the way: whether or not you add a "return" to the last statement doesn't make any difference. It just makes it more explicit.
In reply to Re^5: Is { } an empty block or a bug in perl?
by Joost
in thread Is { } an empty block or a bug in perl?
by cog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |