Emacs can't find my installed modules
Posted
by
XVirtusX
on Super User
See other posts from Super User
or by XVirtusX
Published on 2012-12-07T00:18:59Z
Indexed on
2012/12/07
17:13 UTC
Read the original article
Hit count: 174
I run Perl/Tk
or WWW::Mechanize
just fine using terminal but when I try to invoke the interpreter through Emacs shell (M-!), it dies with a message:
Can't locate tk.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at perl-tk.pl line 2.
Obviously, this array @INC doesn't hold the path to my modules, the question is, how can I do that? I didn't find anything on emacs manual. I also googled it but to no avail.
© Super User or respective owner