02-26-2008
To relocate a perl installation...
1) Move perl executables (perl, perldoc, etc) and it's libraries to, e.g., /new/directory/bin and /new/directory/lib
2) write a wrapper which sets PERL5LIB to, e.g.,
"/new/directory/lib/5.8.4:/new/directory/lib/site_perl" (+ any custom lib directories).
for earlier versions, you may have to add additional directories, but this version
will find all necessary default directories with just the above two directories.
Have the wrapper execute the real perl executable with all of the original arguments:
unshift @ARGV, $^X;
exec { $ARGV[0] } @ARGV;
3) adjust the "#!" line in all of the other executables (e.g. perldoc) to point to the
correct perl executable.
4) In the Config.pm module, change the scriptdirexp directory to point to the new
executable directory /new/directory/bin (otherwise things like perldoc will not work).
Good Luck!
Last edited by Runrig; 02-26-2008 at 07:46 PM..
9 More Discussions You Might Find Interesting
1. Solaris
First off, I'm pretty new to Solaris, although I know Windows very well.
I have a mixed Wintel, Linux and SPARC/Solaris environment and am looknig for a way to make short work of installing Solaris. I know there is a network booting option and there are the WebStart (configurable) and JumpStart... (1 Reply)
Discussion started by: BeekerC
1 Replies
2. Linux
Hello all,
Please can someone assist?
I am attempting to install an external dvdrw on fedora 6.
I attach the dvdrw device to the USB port and run dmesg:
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before... (0 Replies)
Discussion started by: chlawren
0 Replies
3. UNIX for Dummies Questions & Answers
Hi
I'm wondering how I can find all the files which were installed on certain date?
For example: I'm looking for alle the files which were installed on the 11.09.06 on the system.
Does somebody know how to do this?
Thanks
Reto (2 Replies)
Discussion started by: goldenglobe
2 Replies
4. Solaris
Hello everybody,
I'd like to install several important packages on my servor like for instance, man pages package..
I found a .tar.gz package of man pages. So, after to do "gtar zxvf name_of_file.tar.gz" I can access on the folder "name_of_file" (by cd name_of_file). Then, I read on my readme... (4 Replies)
Discussion started by: MasterapocA
4 Replies
5. UNIX and Linux Applications
We have been looking into the possibility of configuring firefox upon installation for a common desktop environment for all users. For instance we want the font to be sans-serif 12 points throughout (preferences menu item), a standard set of plugins to be installed (add ons menu item) and some... (3 Replies)
Discussion started by: figaro
3 Replies
6. AIX
Hi Guys,
I'm looking out to make automation of AIX patch installation and Report Generation... ANy suggestions or idea's welcome (8 Replies)
Discussion started by: kkeng808
8 Replies
7. Windows & DOS: Issues & Discussions
I have installed lots of packets to try emacs with X11 in Cygwin. How can I restore to the point before that installation, without have to search, select and remove every single package on my own? Is there a function to remove lately installations easily? (2 Replies)
Discussion started by: Menedas
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
I'm looking to have certain packages installed on a location on my network(lets call this mount point /software) in such a way that they can run needing anything from the local system. So that when any of my users does /software/bin/vlc or /software/bin/open-office or... (0 Replies)
Discussion started by: saurabhgupta2u
0 Replies
9. Shell Programming and Scripting
Hi. I'm trying to find the best way to locate the latest version of Oracle on a Linux host.
There could be multiple SW installs or there could be none. It could be a client or a full RDBMS installation. I need to find and set the environment in order to run the sqlplus binary. Rather than just... (14 Replies)
Discussion started by: user052009
14 Replies
LEARN ABOUT DEBIAN
perl::critic::themelisting
Perl::Critic::ThemeListing(3pm) User Contributed Perl Documentation Perl::Critic::ThemeListing(3pm)
NAME
Perl::Critic::ThemeListing - List the themes of the installed Policies.
DESCRIPTION
This is a helper class that gathers the themes of the installed Policies. There are no user-serviceable parts here.
INTERFACE SUPPORT
This is considered to be a non-public class. Its interface is subject to change without notice.
CONSTRUCTOR
"new( -policies => @POLICY_OBJECTS )"
Returns a reference to a new "Perl::Critic::ThemeListing" object.
METHODS
to_string()
Returns a string representation of this "ThemeListing". See "OVERLOADS" for more information.
OVERLOADS
When a Perl::Critic::ThemeListing is evaluated in string context, it produces a one-line summary of the default severity, policy name, and
default themes for each Perl::Critic::Policy object that was given to the constructor of this "ThemeListing".
AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
COPYRIGHT
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module.
perl v5.14.2 2012-06-07 Perl::Critic::ThemeListing(3pm)