O wise ones - I'm stumped

Up to now when I've needed modules I've just copied them from CPAN into the appropriate sub-directory. But now I need Timer::HiRes, which is a bit more complicated it seems. So I've been trying to use ppm, but I get this error message

not well-formed at line 1, column 17, byte 17 at C:/perl/site/lib/SOAP/Parser.pm line 73
I get this same error whatever module I try to load with ppm.

Sorry if this seems trivial but to me it might as well be Sanskrit! Here's a dump of other info that might be relevant:
- I'm using windows 98
- I'm running ppm from the c:\perl\bin prompt in a DOS box
- I have perl 5.6.0 (Activestate)
- All the modules I've installed successfully in the past have gone into c:\perl\lib

I would be very grateful if any wise monk can tell me either (1) how to make ppm work or (2) how else I can install Timer::HiRes (I can't get the makefile to work either) or, failing these, (3) another straightforward way to time bits of my code.

§ George Sherston


In reply to Problem installing PMs with PPM by George_Sherston

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.