OK monks, I've got a bit of a challenge for you. I'm stumped. My host doesn't have XML::Xpath, and I can't install new modules because I don't have permissions in the neccessary folder. So I took the files and dropped them into the same directory that the script is running in (so there's my script, and then a directory called "XML" in there). This worked fine.

However, I've recently copied the files to another account on the same host, but most likely a different server in the host's datacenter. Now it's all of the sudden having problems with the package. I get this error:

Can't locate object method "abs" via package "XML::XPath::Literal" at /usr/lib/perl5/site_perl/5.005/HTTP/Request.pm line 106.

I'm not sure what "abs" is or why it would be in the XML::Xpath package, or what that has to do with the HTTP::Request module. To see what would happen I installed the XML::Xpath module from the shell but in a designated directory (now /home/myusername/modules/) with "PREFIX=/dir" when I'm running "perl Makefile.PL", but that had no effect.

Any ideas?


In reply to Package Installation Issues by rjahrman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.