Sponsored Content
Top Forums Programming Best Method for installing Perl Modules Post 302172968 by metallica1973 on Wednesday 5th of March 2008 08:07:57 AM
Old 03-05-2008
Best Method for installing Perl Modules

Which is the perferred method of installing Perl modules on a Unix system? Is is CPAN or manually installing them via a tar file? Also can anyone point me in the right direction to a decent "how to" on configuring CPAN and how to perform custom installs from a tar? thanksSmilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Installing Perl Modules

I have a script that uses the File::Listing module. I am trying to install it, but I read the ReadMe and it states that the following modules should be installed first: URI MIME-Base64 HTML-Parser libnet Digest-MD5 Compress-Zlib I am very new to Perl and would apprciate anyone's input on... (1 Reply)
Discussion started by: ssmiths001
1 Replies

2. Programming

Installing perl modules manually

I am trying to install a perl module using a tar file and am having trouble doing so. I see that on the system there are two version of perl installed. /usr/bin/perl -v /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int ... (0 Replies)
Discussion started by: metallica1973
0 Replies

3. Shell Programming and Scripting

extracting used perl modules

Hi, I am trying to extract the includes from all the perl programs in my application space;ie. i want the list of all used modules in my application. First i did a grep like 'grep -r "^use.*;$" * > ~dileepp/search.txt' which gives me the output in the form "filename:line containing use"... (0 Replies)
Discussion started by: DILEEP410
0 Replies

4. UNIX for Dummies Questions & Answers

installing perl modules

I resulted to using /usr/sfw/bin/gmake to install my perl modules until i ran into a problem installing perl/Tk Tk-804.028 gmake: Entering directory `/export/home/Tk-804.028/pod' Sorry no HTML building yet gmake: Leaving directory `/export/home/Tk-804.028/pod' I dont unstand what the error... (2 Replies)
Discussion started by: jameskay
2 Replies

5. UNIX for Advanced & Expert Users

Installing GD Perl graphics modules

I'm on Mac OSX, I *think* I succeeded in installing libpng. I can see usr/local/lib/libpng.dylib and its brethren are in place after executing ./configure nd and the holy make install. (2 Replies)
Discussion started by: andrewduncan
2 Replies

6. Shell Programming and Scripting

How to install perl modules

Hi. i installed perl 5.8.8.822 in my D: drive(windows xp).When im trying to install IO-Stringy.pm module( or any module for tat matter ) it is getting installed in 'c:\temp\please run installed script' folder no matter from where ever i run the ppm installation.The path variable is set to... (3 Replies)
Discussion started by: Anuj8584
3 Replies

7. Red Hat

installing perl modules

Hi All, I have a customer asking me to install these perl modules on redhat 4 ent: File::Temp Getopt::Long DBD::mysql Mail::Mailer DBD::DB2 Any idea how can I install those modules. Thanks for any comment you may add. (3 Replies)
Discussion started by: itik
3 Replies

8. UNIX for Dummies Questions & Answers

[Solved] Installing Multiple Perl Modules at Once

How could one install multiple Perl modules at once. I tried and get this at the cli: perl -MCPAN -e'install Crypt::DES Digest::CRC Digest::MD4 IO::Pty IO::Socket::SSL WWW::Mechanize Crypt::PasswdMD5 Net::Write' Can't locate object method "PasswdMD5" via package "Crypt" at -e line 1. ... (0 Replies)
Discussion started by: metallica1973
0 Replies

9. Shell Programming and Scripting

how to create custom modules in perl and how to import all modules with single command?

I have some custom functions which i want to use in perl Scripting all time. i want to How to create modules in perl and how to import them. Also if i create 15 modules and i want to > import all at once then how can i import? (0 Replies)
Discussion started by: Navrattan Bansa
0 Replies

10. Shell Programming and Scripting

perl modules installation

I have installed perl in windows. Now I would like to install spreadsheet::xlsx & DateTime::Format::Excel modules(also few more) at a time instead of installing them seperately. Could you please let me know how to install more than 1 module as a batch file in windows OS ? Thanks in... (5 Replies)
Discussion started by: giridhar276
5 Replies
Dist::CheckConflicts(3) 				User Contributed Perl Documentation				   Dist::CheckConflicts(3)

NAME
Dist::CheckConflicts - declare version conflicts for your dist VERSION
version 0.10 SYNOPSIS
use Dist::CheckConflicts -dist => 'Class-MOP', -conflicts => { 'Moose' => '1.14', 'namespace::autoclean' => '0.08', }, -also => [ 'Package::Stash::Conflicts', ]; __PACKAGE__->check_conflicts; DESCRIPTION
One shortcoming of the CPAN clients that currently exist is that they have no way of specifying conflicting downstream dependencies of modules. This module attempts to work around this issue by allowing you to specify conflicting versions of modules separately, and deal with them after the module is done installing. For instance, say you have a module "Foo", and some other module "Bar" uses "Foo". If "Foo" were to change its API in a non-backwards- compatible way, this would cause "Bar" to break until it is updated to use the new API. "Foo" can't just depend on the fixed version of "Bar", because this will cause a circular dependency (because "Bar" is already depending on "Foo"), and this doesn't express intent properly anyway - "Foo" doesn't use "Bar" at all. The ideal solution would be for there to be a way to specify conflicting versions of modules in a way that would let CPAN clients update conflicting modules automatically after an existing module is upgraded, but until that happens, this module will allow users to do this manually. This module accepts a hash of options passed to its "use" statement, with these keys being valid: -conflicts A hashref of conflict specifications, where keys are module names, and values are the last broken version - any version greater than the specified version should work. -also Additional modules to get conflicts from (potentially recursively). This should generally be a list of modules which use Dist::CheckConflicts, which correspond to the dists that your dist depends on. (In an ideal world, this would be intuited directly from your dependency list, but the dependency list isn't available outside of build time). -dist The name of the distribution, to make the error message from check_conflicts more user-friendly. The methods listed below are exported by this module into the module that uses it, so you should call these methods on your module, not Dist::CheckConflicts. As an example, this command line can be used to update your modules, after installing the "Foo" dist (assuming that "Foo::Conflicts" is the module in the "Foo" dist which uses Dist::CheckConflicts): perl -MFoo::Conflicts -e'print "$_ " for map { $_->{package} } Foo::Conflicts->calculate_conflicts' | cpanm As an added bonus, loading your conflicts module will provide warnings at runtime if conflicting modules are detected (regardless of whether they are loaded before or afterwards). METHODS
conflicts Returns the conflict specification (the "-conflicts" parameter to "import()"), as a hash. dist Returns the dist name (either as specified by the "-dist" parameter to "import()", or the package name which "use"d this module). check_conflicts Examine the modules that are currently installed, and throw an exception with useful information if any modules are at versions which conflict with the dist. calculate_conflicts Examine the modules that are currently installed, and return a list of modules which conflict with the dist. The modules will be returned as a list of hashrefs, each containing "package", "installed", and "required" keys. BUGS
No known bugs. Please report any bugs to GitHub Issues at <https://github.com/doy/dist-checkconflicts/issues>. SEE ALSO
Module::Install::CheckConflicts Dist::Zilla::Plugin::Conflicts SUPPORT
You can find this documentation for this module with the perldoc command. perldoc Dist::CheckConflicts You can also look for information at: o MetaCPAN <https://metacpan.org/release/Dist-CheckConflicts> o Github <https://github.com/doy/dist-checkconflicts> o RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dist-CheckConflicts> o CPAN Ratings <http://cpanratings.perl.org/d/Dist-CheckConflicts> AUTHOR
Jesse Luehrs <doy@tozt.net> COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Jesse Luehrs. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.18.2 2013-12-17 Dist::CheckConflicts(3)
All times are GMT -4. The time now is 07:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy