NAME

fallback - Like lib, but pushes the dirs at the end of @INC.

SYNOPSIS

use fallback 'inc';
use A::Module; # the user-installed version is found first

DESCRIPTION

import(@dirlist)

This creates a list of directories for each element in @dirlist to add to the searchpath and pushes it onto @INC. This is the same list as lib.pm uses, but it's push()ed rather than unshift()ed.

$dir
$dir/$inc_version (See $Config{inc_version_list})
$dir/$archname/auto
$dir/$archname
$dir/$version
$dir/$version/$archname

unimport(@dirlist)

Remove the set of subdirs represented by each element of @dirlist from @INC.

COPYRIGHT

(c) 2013, Abe Timmerman <abeltje@cpan.org> All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See:

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.