blib - Use MakeMaker's uninstalled version of a package
perl -Mblib script [args...]
perl -Mblib=dir script [args...] Looks for MakeMaker-like 'blib' directory structure starting in dir (or current directory) and working back up to five levels of '..'.
Intended for use on command line with -M option as a way of testing arbitrary scripts against an uninstalled version of a package.
However it is possible to :
use blib;
or
use blib '..'; etc. if you really must.
Pollutes global name space for development only task.
Nick Ing-Simmons [email protected]
© 1993–2025 Larry Wall and others
Licensed under the GNU General Public License version 1 or later, or the Artistic License.
The Perl logo is a trademark of the Perl Foundation.
https://perldoc.perl.org/5.42.0/blib