There's no need to put your @EXPORT and *import assignment in a BEGIN block.
Oh I realize that. If you read Re: Undefined subroutine errors and Re^3: Undefined subroutine errors, you'll see that not only do I understand execution order quite well, I placed those statements in BEGIN block for a reason: that pattern allows two modules to include each other. Obviously, that's not required here, but I don't see any reason why I shouldn't use the pattern here.
By the way, I also explain execution order in Re: BEGIN and END blocks, use strict and scoping.
In reply to Re^3: Auto-evaluating anonymous subroutines
by ikegami
in thread Auto-evaluating anonymous subroutines
by dabreegster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |