From: nicolas
Sent: Thursday, February 19, 2015 10:14 AM
To: beginners@perl.org
Subject: can locate pm
Hello,

I used to work with a perl script that contains (use vt.pm). (vt.pm are code that complement the script) I remember that I have to copy the vt.pm file in perl somewhere. Since I am not very familar with programming my question is where to excaclly copy this *.pm so I can use my script again.
Thanks

Can't locate lib/vt.pm in @INC (you may need to install the lib::vt module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at sequence.pm line 8.

You can place vt.pm in any of the @INC locations you've listed above.
The normal (default) location is the one specified by running:

 perl -V:sitelib

and that's where I would recommend putting it.

Cheers,
Rob



--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to