http://www.perlmonks.org?node_id=293100


in reply to Re: if only blocks were avoidable...
in thread if only blocks were avoidable...

So if I understand what you (and perlvar) say correctly, the BEGIN block is what's going to make my import globally scoped? If that's the case then I guess that's what I was looking for.
Thanks.
  • Comment on Re: Re: if only blocks were avoidable...

Replies are listed 'Best First'.
Re: Re: Re: if only blocks were avoidable...
by Anonymous Monk on Sep 22, 2003 at 10:22 UTC
    No. Wrapping an import call in a BEGIN block will make it happen at compile time.