First of all, if you put the XML contents inside of <code></code> tags, your post would be much easier to read.

Secondly, it would help to clearly identify the platform and Perl distribution that you're using. Based on seeing "wordpad", "ppd file", and "Win32-SerialPort" in your post, I think it's safe to assume that you're running on a Windows platform and probably are using a version of ActiveState Perl.

Based on the assumptions above, I'd recommend using ppm (Perl Package Manager) that was installed when you installed ActiveState Perl. It might be easier to start with the GUI version of that utility and install modules via that route. (The Win32::SerialPort module is available for install via this route.)

Of course, ppm is going to access repositories that have compiled modules rather than pulling from CPAN directly. If you really want to go to CPAN directly, I'd recommend using the cpan line command utility to install your modules. Since I haven't used this utility that much myself, I'll allow others to explain it in more details or you can run perldoc cpan from a command prompt for detailed information.

This should hopefully get you started in the right direction. If you have more questions or encounter problems, just come back and post your questions.


In reply to Re: Adding CPAN module manually by dasgar
in thread Adding CPAN module manually by sus

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.