1fallback(3)           User Contributed Perl Documentation          fallback(3)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

13   import(@dirlist)
14       This creates a list of directories for each element in @dirlist to add
15       to the searchpath and pushes it onto @INC. This is the same list as
16       lib.pm uses, but it's push()ed rather than unshift()ed.
17
18       $dir
19       $dir/$inc_version (See $Config{inc_version_list})
20       $dir/$archname/auto
21       $dir/$archname
22       $dir/$version
23       $dir/$version/$archname
24
25   unimport(@dirlist)
26       Remove the set of subdirs represented by each element of @dirlist from
27       @INC.
28
30       (c) 2013, Abe Timmerman <abeltje@cpan.org> All rights reserved.
31
32       This library is free software; you can redistribute it and/or modify it
33       under the same terms as Perl itself.
34
35       See:
36
37       ·   <http://www.perl.com/perl/misc/Artistic.html>
38
39       ·   <http://www.gnu.org/copyleft/gpl.html>
40
41       This program is distributed in the hope that it will be useful, but
42       WITHOUT ANY WARRANTY; without even the implied warranty of
43       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
44
45
46
47perl v5.30.0                      2019-08-19                       fallback(3)
Impressum