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.)
In reply to Re: Using a different module version than the one installed
by ikegami
in thread Using a different module version than the one installed
by soso_ynak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |