cal,

PPM is the Perl Package Manager, written by the good people at ActiveState. It is a simple interactive shell environment where you can download and install Perl modules, and the pre-complied binary components (if required). Though you can use the tool with any version of Perl on any platform in theory, in practive it's only any use if you use an ActiveState built version of Perl (Solaris, Linux or Win32). I don't know if anyone on Solaris or Linux uses it, but for Windows it's the normal way of installing a module, especially if it inculdes a non Perl binary component.

Perl modules can be split into two basic types, pure Perl and Perl + something else (hybrid). If a module is pure Perl then you can download it from CPAN and install it with the normal build process, all you need is make, you don't need any other tools. If it contains something else, then you will need the tools to build and link that something else. Normally Unix and Unix like system have all the tools, but Windows systems do not, hence PPM's popularity on Windows.

GD is not a pure Perl module, it needs to access a graphics library that is written in c. So to install GD you need to install the library first.

Pure perl modules if properly written are totally cross platform, so you can copy them from one kind of computer to another, or even install by hand with pretty much no problems at all. You can usually even get away with moving them between different versions of Perl too - they are pretty robust oveall.

Hybrid modules can't be moved about. You can't copy the binary file from one Perl module on one kind of computer to a different kind of computer. You can't always copy a binary file even from computer to computer, even if they are running the same operating system on the same CPU, because there are subtle differences between the machines.

Sorry this is a bit complex....

In summary, if it's a pure-Perl module then you can copy it from where you installed it one one computer to another computer and it should run okay. If it's a hybrid module, then you may have to install a library first, you will probably need acces to a compiler to build the module, and you shouldn't copy the module from one computer to another - bad things could happen......

In your case your best bet is to ask the admin of the server to install the module for you - it will benefit everyone else on the machine anyway.....

Some other useful links:

Good luck!


--
ajt

In reply to Re: Re: Re: Can't locate object method by ajt
in thread Can't locate object method by cal

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.