Your skill will accomplish
what the force of many cannot
Re: Re: Re: Can't locate object methodby ajt (Prior)
|on Nov 02, 2002 at 13:16 UTC||Need Help??|
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.
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: