XP is just a number | |
PerlMonks |
Re: Exporter. Correct way to override import?by ikegami (Patriarch) |
on May 06, 2018 at 01:12 UTC ( [id://1214104]=note: print w/replies, xml ) | Need Help?? |
Exporter uses caller or similar to determine to which package to export. The caller is in package Foo in your example, which is why it's failing. You want or
Get rid of archaic our @ISA = 'Exporter';. It doesn't make sense, and it hasn't been necessary since 5.8.3 (2004).
In Section
Seekers of Perl Wisdom
|
|