However, your package->import() is a run-time statement, so perl can not tell at compile time that main::foo has a prototype.
(... insert sound of man slapping forehead here ...)
Of course. Me stupid. One BEGIN statement and problem solved.
In reply to Re^2: Odd behaviour with prototypes and Exporter
by adrianh
in thread Odd behaviour with prototypes and Exporter
by adrianh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |