above - auto "use lib" when a module is in the tree of the PWD
use above "My::Module";
Used by the command-line wrappers for Command modules which are developer tools.
Do NOT use this in modules, or user applications.
Uses a module as though the cwd and each of its parent directories were at the beginnig of @INC. If found in that path, the parent directory is kept as though by "use lib".
# given /home/me/perlsrc/My/Module.pm
# in /home/me/perlsrc/My/Module/Some/Path/
# in myapp.pl: use above "My::Module";
# does this ..if run anywhere under /home/me/perlsrc: use lib '/home/me/perlsrc/' use My::Module;
To install UR, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.