E
Electrorog
Hello. My University doesn't have the Perl modules installed that I
want to use but said that I can install them in my own directory for my
own use. I can access my directory but when I put the .pm file (like
NetPacket::TCP) and try to run my .pl file, I still get the can't find
module error since Perl is still looking in the same place for the
modules using @INC I assume (I am not a CS major so this is proving to
be frustrating). I was wondering if I could just save the .pm file as
a .pl file, put my code that I want to run at the end of the .pm file
and run it that way. If I can't, could someone please tell me how I
can use these great modules in a private directory? I appreciate any
help.
Roger
want to use but said that I can install them in my own directory for my
own use. I can access my directory but when I put the .pm file (like
NetPacket::TCP) and try to run my .pl file, I still get the can't find
module error since Perl is still looking in the same place for the
modules using @INC I assume (I am not a CS major so this is proving to
be frustrating). I was wondering if I could just save the .pm file as
a .pl file, put my code that I want to run at the end of the .pm file
and run it that way. If I can't, could someone please tell me how I
can use these great modules in a private directory? I appreciate any
help.
Roger