Closed courtens closed 1 year ago
Perl searches for libraries through a set of paths in @INC array. To specify an additional location, just use:
use lib 'some_path_to_libs';
before using
use Module;
to load the module under that path. Whether that path would be the path to the Strawberry libraries or some other location where you might store those additional modules is up to you. I hope that helps.
It looks like my environment is somehow messed up. Thank you ... that worked.
I would like to use the
URI::Encode
module inside theDNS.pm
script.I tried using
use
like this:but I am getting this error:
I also tired
required
like this:but that too is not working.
Do I need to copy and past the content of
Encode.pm
into the top section ofDNS.pm
to use encode?FYI: I added
C:\Perl64_Strawberry\perl\site\lib\
to my Windows Environment.