Sponsored Content
Top Forums Shell Programming and Scripting How to manage several versions of Perl modules during the install? Post 302325258 by cbkihong on Sunday 14th of June 2009 04:49:34 AM
Old 06-14-2009
Perl just obeys the ordering imposed by @INC. So, I guess you can get away with it by force prepending '/usr/lpp/perl/lib/site_perl/5.8.7' to @INC while you do "perl Makefile.PL". It does no harm if you have the same path twice in the @INC because Perl just uses the first one.

Try adding -I/usr/lpp/perl/lib/site_perl/5.8.7 to the command and tell us how it goes.

i.e.

Code:
perl -I/usr/lpp/perl/lib/site_perl/5.8.7 Makefile.PL

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to manage multiple versions of a set of shell and SQL script utilities

Hi all --- I have the need to manage multiple versions of a set of utility scripts -- both shell and SQL and other .dat files. I am wondering if anyone out there knows of a good way to "PATH" to SQL and text files in a way similar to how PATH facilitates finding executables in a pre-specified... (2 Replies)
Discussion started by: DennisB
2 Replies

2. 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

3. Shell Programming and Scripting

Install modules on strawberry perl

Hi, I'm using strawberry perl on windows 7 rc, and for the past few days I haven't manage to install any modules. I understand that I have to download the module from cpan, which I do, afterwards I have to open cmd, change directory to where I have extracted the module, and type: perl... (0 Replies)
Discussion started by: byte1918
0 Replies

4. Shell Programming and Scripting

How to install perl modules in Solaris

Hi All, How to install the perl modules in Solaris? pwd /eweiquu/ocsta/lib/XML-Simple-2.18 and bash-3.00# perl Makefile.PL Checking installed modules ... XML::Parser is installed, it will be used by the test suite Writing Makefile for XML::Simple and then the readme file says,you... (2 Replies)
Discussion started by: Damon_Qu
2 Replies

5. Shell Programming and Scripting

Unable to install perl XML and EXCEL modules in windows XP.

Hi, I am using perl 5.12. I want to install XML modules and Excel modules which is from perl in windows. I am using ppm to install these perl modules. My proxy is this: mtd.ixs.ibab.com/proxy.pac (with http in the beginning) I used this to set but i unable to download any pakage, Using... (5 Replies)
Discussion started by: vanitham
5 Replies

6. UNIX and Linux Applications

install multiple versions of firefox in linux

Since apt-get and yum won't let you install multiple versions of firefox I will explain how to here. 1. Go to this page and decide which version of firefox you want. ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ I used this one. ... (0 Replies)
Discussion started by: cokedude
0 Replies

7. 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

8. Programming

How to automatically install all modules required by a script from CPAN?

Having a script.pl how can I automatically download from CPAN all required modules and install and update as required? Something like "emerge -uDNav world" for the perl? ---------- Post updated at 05:38 PM ---------- Previous update was at 05:28 PM ---------- Doesn't matter I've found it ... (6 Replies)
Discussion started by: Tribe
6 Replies

9. Shell Programming and Scripting

Script to install Perl Modules

Hi guys, I need to upgrade perl modules on about multiple machines. I'm writing a for loop for it. for i in 1 2 3 4 5 6; do ssh server$i " sudo cpan Mozilla::CA, sudo cpan LWP::UserAgent, sudo cpan LWP::Protocol::https, sudo cpan IO::Socket::SSL, sudo cpan Net::SSL,... (2 Replies)
Discussion started by: scj2012
2 Replies

10. UNIX for Dummies Questions & Answers

How do You manage different program versions?

Hallo, I have an general question which happens when installing software by compiling them self. I'm using FreeBSD system 10.0 and the ports. for info, see: http--en.wikipedia.org/wiki/FreeBSD_Ports. As I installed BSD for some years there was (i.e.) perl-14 installed. Now, when doing some... (1 Reply)
Discussion started by: HL1234
1 Replies
Module::Install::Bundle(3pm)				User Contributed Perl Documentation			      Module::Install::Bundle(3pm)

NAME
Module::Install::Bundle - Bundle distributions along with your distribution SYNOPSIS
Have your Makefile.PL read as follows: use inc::Module::Install; name 'Foo-Bar'; all_from 'lib/Foo/Bar.pm'; requires 'Baz' => '1.60'; # one of either: bundle 'Baz' => '1.60'; # OR: auto_bundle; WriteAll; DESCRIPTION
Module::Install::Bundle allows you to bundle a CPAN distribution within your distribution. When your end-users install your distribution, the bundled distribution will be installed along with yours, unless a newer version of the bundled distribution already exists on their local filesystem. While bundling will increase the size of your distribution, it has several benefits: Allows installation of bundled distributions when CPAN is unavailable Allows installation of bundled distributions when networking is unavailable Allows everything your distribution needs to be packaged in one place Bundling differs from auto-installation in that when it comes time to install, a bundled distribution will be installed based on the distribution bundled with your distribution, whereas with auto-installation the distibution to be installed will be acquired from CPAN and then installed. METHODS
o auto_bundle() Takes no arguments, will bundle every distribution specified by a "requires()". When you, as a module author, do a "perl Makefile.PL" the latest versions of the distributions to be bundled will be acquired from CPAN and placed in inc/BUNDLES/. o bundle($name, $version) Takes a list of key/value pairs specifying a distribution name and version number. When you, as a module author, do a perl Makefile.PL the distributions that you specified with "bundle()" will be acquired from CPAN and placed in inc/BUNDLES/. o bundle_deps($name, $version) Same as "bundle", except that all dependencies of the bundled modules are also detected and bundled. To use this function, you need to declare the minimum supported perl version first, like this: perl_version( '5.005' ); o auto_bundle_deps Same as "auto_bundle", except that all dependencies of the bundled modules are also detected and bundled. This function has the same constraints as bundle_deps. BUGS
Please report any bugs to (patches welcome): http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module-Install AUTHORS
Audrey Tang <autrijus@autrijus.org> Documentation by Adam Foxson <afoxson@pobox.com> COPYRIGHT
Copyright 2003, 2004, 2005 by Audrey Tang <autrijus@autrijus.org>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-01 Module::Install::Bundle(3pm)
All times are GMT -4. The time now is 05:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy