in reply to Using a different module version than the one installed
There's actually two directories that need to be added to @INC, the one that allows it to locate the .pm, and the one that allows it to locate the .so. The following will add both:
use FindBin qw( $RealBin ); use lib "$RealBin/../lib_ext";
(This also removes assumption that the PWD is the directory containing the script.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using a different module version than the one installed
by syphilis (Archbishop) on Sep 02, 2022 at 06:17 UTC | |
by ikegami (Patriarch) on Sep 02, 2022 at 17:15 UTC |