The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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.

VERSION

$Revision$

SYNOPSIS

  use Module::PortablePath qw(tag1 tag2 tag3);

DESCRIPTION

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.

SUBROUTINES/METHODS

config - Return a Config::IniFiles object appropriate for the execution environment

  my $cfg = Module::PortablePath->config();

import - Perform the path modifications on import (or 'use') of this module

  use Module::PortablePath qw(bioperl ensembl core);

  # or

  require Module::PortablePath;
  Module::PortablePath->import(qw(bioperl ensembl core));

dump - Print out library configuration for this environment

  perl -MModule::PortablePath -e 'Module::PortablePath->dump'

DIAGNOSTICS

  See Module::PortablePath::dump();

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

Sys::Hostname Config::IniFiles Carp

INCOMPATIBILITIES

BUGS AND LIMITATIONS

AUTHOR

Roger Pettett, <rpettett@cpan.org>

LICENSE AND COPYRIGHT

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.