Hi all,
I am very new to Perl and am trying to run my first proper script, which makes use of PDF::FromHTML. When I do I get the following error:
Can't locate PDF/FromHTML.pm in @INC (@INC contains: /Library/Perl/5.12/darwin-thread-multi-2level /Library +/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Net +work/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 /System/Library/P +erl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System +/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/ +Perl/Extras/5.12 .)
Now I have installed PDF::FromHTML using CPAN and can confirm that it was added to my perllocal.pod, as this extract shows.
=head2 Wed Aug 7 09:04:20 2013: C<Module> L<PDF::FromHTML|PDF::FromHT +ML> =over 4 =item * C<installed into: /opt/local/lib/perl5/site_perl/5.12.4> =item * C<LINKTYPE: dynamic> =item * C<VERSION: 0.31> =item * C<EXE_FILES: script/html2pdf.pl> =back
But it would appear that the paths are not being added to the @INC and I can't figure out why. I would appreciate it if anyone could give me advice on how to get around this problem.
Thanks Bevan
In reply to Paths not added to @INC by yeti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |