in reply to editing of installed modules, a story of failure
It's not a good idea, because a future CPAN installation might update it and overwrite your patches.
It's better to copy it to another path before patching and prepend it to @INC.
Salva just explained it recently: Re: How to redefine a modules private function?
To your actual question:
you most probably entered an error while patching. A guess: the compilation fails during requirement and the module never returns the necessary true value.
It's hard to tell tho without more details, but did you make sure the new code compiles?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: editing of installed modules, a story of failure
by LanX (Saint) on Mar 25, 2022 at 14:17 UTC | |
|
Re^2: editing of installed modules, a story of failure
by Anonymous Monk on Mar 25, 2022 at 14:38 UTC |