in reply to Re: Installing .pm module with Strawberry Perl (Windows)
in thread Installing .pm module with Strawberry Perl (Windows)
just copy it anywhere where perl is looking ( @INC ).
No, place it here in the directory output by the following:
perl -V:installsitelib
Or create "lib" directory next to your script and use lib "lib";
No, that won't always work before 5.26 (because it assumes the CWD is the script's directory), and it introduces a security vulnerability in setuid scripts. You want:
use FindBin qw( $RealBin ); use lib "$RealBin/lib";
|
|---|