Module::PortablePath - Perl extension follow modules to exist in different non-core locations on different systems without having to refer to explicit library paths in code.
$Revision$
use Module::PortablePath qw(tag1 tag2 tag3);
This module overrides its import() method to fiddle with @INC and $ENV{'LD_LIBRARY_PATH'}, adding sets of paths for applications as configured by the system administrator.
It requires Config::IniFiles.
my $cfg = Module::PortablePath->config();
use Module::PortablePath qw(bioperl ensembl core); # or require Module::PortablePath; Module::PortablePath->import(qw(bioperl ensembl core));
perl -MModule::PortablePath -e 'Module::PortablePath->dump'
See Module::PortablePath::dump();
Sys::Hostname Config::IniFiles Carp
Roger Pettett, <rpettett@cpan.org>
Copyright (C) 2007 GRL, by Roger Pettett
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
To install Module::PortablePath, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::PortablePath
CPAN shell
perl -MCPAN -e shell install Module::PortablePath
For more information on module installation, please visit the detailed CPAN module installation guide.