Perl 5 version 26.3 documentation

blib

NAME

blib - Use MakeMaker's uninstalled version of a package

SYNOPSIS

  1. perl -Mblib script [args...]
  2. perl -Mblib=dir script [args...]

DESCRIPTION

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 :

  1. use blib;
  2. or
  3. use blib '..';

etc. if you really must.

BUGS

Pollutes global name space for development only task.

AUTHOR

Nick Ing-Simmons nik@tiuk.ti.com