Confirmed, it doesn't work from within BEGIN.
>type M.pm package M; BEGIN { return 1; } print "Point A\n"; return 1; print "Point B\n"; 1; >perl -e "use M;" Point A
In reply to Re^3: Aborting a module (return 1)
by ikegami
in thread Aborting a module
by suaveant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |