Think about Loose Coupling | |
PerlMonks |
Re^3: Prototypes required even after mocking a subby Anonymous Monk |
on Sep 21, 2018 at 21:04 UTC ( [id://1222816]=note: print w/replies, xml ) | Need Help?? |
In order for it to happen in the compile phase, the user must call your code (both loading your module and executing the sub override) in that file's compile phase, e.g. in a BEGIN block or use declaration.
In Section
Seekers of Perl Wisdom
|
|