Bob Showalter wrote:
You can't use return outside of a sub. The normal idiom is a bare 1 to
provide a true result for require().

I'm wrong. You _can_ return from a "do FILE" construct. So there shouldn't be an error. (suggest you remove the "return" anyway; it isn't normally used in that situation.)

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to