P is for Practical | |
PerlMonks |
Re: Prototypes required even after mocking a subby Anonymous Monk |
on Sep 21, 2018 at 20:28 UTC ( [id://1222810]=note: print w/replies, xml ) | Need Help?? |
The prototype is used by the parser itself to validate the number of parameters at compile time. It's likely your mocked override was not installed before this happened, if it was installed at runtime.
In Section
Seekers of Perl Wisdom
|
|