No. You are mistaking ->import() for BEGIN. The point is getting the override information to the parser before it parses the portion you expected to be overridden. ->import() can do that because it happens at BEGIN-time during use(). You can do that yourself with an inline BEGIN block.
In reply to Re: Re: !Overriding Builtin print
by diotalevi
in thread !Overriding Builtin print
by Zaxo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |