Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

To use modules under ActiveState Perl for Windows, the easiest was is to use the PPM (Perl Package Manager) program supplied with AS Perl.
To ensure it works correctly and to its maximum potential, you really need to define additional PPM respositories (places where PPM modules are stored on the web, ODP has a little list, but what follows is a long list of other PPMs that I've 'discovered'), here's a quick step through:

Go to Start->Run and enter either 'command.com' or 'cmd' dependent on your Windows version. You should then get a nice black command window (a la DOS), which you should enter the following:

c:/> ppm PPM> set repository DevelopHelp http://ppd.develop-help.com/ppd/ PPM> set repository Roth http://www.roth.net/perl/packages/ PPM> set repository PTK http://www.xray.mpe.mpg.de/~ach/ptk/ppm/ PPM> set repository Theory http://theoryx5.uwinnipeg.ca/ppmpackages/ PPM> set repository Dada http://dada.perl.it/PPM PPM> set repository Jenda http://jenda.krynicky.cz/perl PPM> set repository rto http://rto.dk/packages/ PPM> set repository OpenInteract http://openinteract.sourceforge.net/p +pmpackages/ PPM> set repository GA http://ppm.gingerall.cz PPM> set repository EPN http://www.epn.ml.org/~spurkis/Agent/repositor +y PPM> set repository JMC http://homepage.eircom.net/~jmcnamara/perl PPM> set save PPM> quit

Then when you want to install a module (for example DBI), you just need to do:

c:/> ppm PPM> search DBI PPM> install DBI PPM> quit

It really is that simple (you don't even need the search line - but its nice to do it like that as then you see if there are likely to be any other packages which may be of assistance: try search for 'sql' for example!).

If you would like to create your own PPD (Perl Package Design) module that is needed with the PPMs, then this node (which also gives 'build' information) or Jenda Krynicky's guide should be of use.


In reply to Re: Modules in the Windows environment by beebware
in thread Modules in the Windows environment by rmlacey

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (6)
    As of 2014-11-21 03:18 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My preferred Perl binaries come from:














      Results (104 votes), past polls