Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Welcome to the Monastery

Re: Re: Re: Can't locate object method

by ajt (Prior)
on Nov 02, 2002 at 13:16 UTC ( #209942=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Can't locate object method
in thread Can't locate object method


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!


Comment on Re: Re: Re: Can't locate object method

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://209942]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-03-13 22:34 GMT
Find Nodes?
    Voting Booth?

    Have you used a cryptocurrency?

    Results (290 votes), past polls