> > Hello all, > > What is the easiest way to install a module from CPAN that has several > dependencies? Specifically, I want to install XML::Simple. However, that > module depends on a few other perl modules. For now, I'm downloading the > modules individually and installing them. But this seems to be a problem > of dependencies that has already been solved by apt-get in the debian world > (and now for RPMs, too). > > Is there an apt-get equivalent for perl modules? If so, what is it > called? Can CPAN already do this? If so, please point me in the right > direction. Have been googling, but nothing yet. >
CPAN can do this (in general) for dependencies on other Perl modules. So XML::Simple should be handling this for you, now having said that if a module has an XS component as some of the possible dependencies of XML::Simple do (more specifically XML::Parser uses the expat C libraries, but XML::Simple can use multiple different parsers so they are not required, but I believe you have to choose at least one). In these cases CPAN should try to install the module, but if the underlying C libs are not available most likely it will fail in doing so and should provide you with an error message stating as such. So there is no cut and dry answer. Some modules are also available as apt or rpm packages, but mileage varies greatly.... Are you getting an error from CPAN?? http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]