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

If you're gonna be messing with @INC, maybe just create a subclass and redefine DOMAIN_PORT via @ISA or parent.

Replies are listed 'Best First'.
Re^3: How to redefine a modules private function?
by haukex (Archbishop) on Mar 10, 2022 at 06:54 UTC
    If you're gonna be messing with @INC, maybe just create a subclass and redefine DOMAIN_PORT via @ISA or parent.

    No, overloading only works on methods, which the subs in question are not.