in reply to Re^2: How to redefine a modules private function?
in thread How to redefine a modules private function?

> I can't understand to what cases it applies to though.

&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