Packaging the perl, give it to atom, all on Panther
February 7, 2004 11:15 PM Subscribe
I'm trying to write a short Perl script under Mac OS X (Panther) to post to a Moveable Type weblog using the Atom API. After some initial problems with installing packages, I'm having this issue. [more inside]
I get the following error: Can't locate XML/LibXML.pm in @INC. Any pointers from you Mac/Perl gurus?
(LibXML.pm is located under: /Users/,username/.cpan/build/XML-LibXML-1.56)
I get the following error: Can't locate XML/LibXML.pm in @INC. Any pointers from you Mac/Perl gurus?
(LibXML.pm is located under: /Users/,username/.cpan/build/XML-LibXML-1.56)
LibXML.pm shouldn't be there; that is the default CPAN.pm build dir. Log in as root (e.g. with su in a terminal) and try: perl -MCPAN -e 'install XML::LibXML'
posted by thebabelfish at 5:33 AM on February 8, 2004
posted by thebabelfish at 5:33 AM on February 8, 2004
This thread is closed to new comments.
use lib '/Users/,username/.cpan/build/';
at the top of your script. This adds your CPAN build dir to your module path list. (Once again, this is very probably not what you want to do).posted by fvw at 4:54 AM on February 8, 2004