in reply to Re: Odd behaviour with prototypes and Exporter
in thread Odd behaviour with prototypes and Exporter
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.
|
|---|