It just requires that it should always be called as a method.sub external { shift; # rest of code }
I do this all the time, but I guess it's a matter of taste.
edit: removed class from "always be called as a method"
In reply to Re^3: Mixing @EXPORT and use base
by Joost
in thread Mixing @EXPORT and use base
by bmcatt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |