Unfortunately do the perldocs often reflect only an archaic Perl.
Again, not so. Exporter includes
package YourModule; use Exporter 'import'; # gives you Exporter's import() method directly @EXPORT_OK = qw(munge frobnicate); # symbols to export on request
In reply to Re^5: Exporter. Correct way to override import? (archaic perldoc)
by ikegami
in thread Exporter. Correct way to override import?
by Veltro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |