lib::overlay - Overlay additional code on module loading
use lib::overlay '_deprecated' => -warn; use lib::overlay '_Overlay', '_Vendor', '_Local';
Say you have use lib '_deprecated'. Now use CGI; will, after loading CGI.pm, also try to look _deprecated/CGI.pm in @INC and load them too.
use lib '_deprecated'
use CGI;
@INC
Expect more documentation later. :-)
Autrijus Tang <autrijus@autrijus.org>
Copyright 2004 by Autrijus Tang <autrijus@autrijus.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install lib::overlay, copy and paste the appropriate command in to your terminal.
cpanm
cpanm lib::overlay
CPAN shell
perl -MCPAN -e shell install lib::overlay
For more information on module installation, please visit the detailed CPAN module installation guide.