&foo is disabling any prototype checks on foo calls at compile time. But constant folding requires an empty prototype () to rule out any side effects at run-time.
(Though I never tried playing around with other side effects like returning a closure var)
Like HaukeX said, this doesn't help here, because you'd need to patch the source.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: How to redefine a modules private function?
by LanX
in thread How to redefine a modules private function?
by sectokia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |