lib::if::dev - Use lib/ if we're in a dev root
This document describes version 0.002 of lib::if::dev - released February 24, 2013 as part of lib-if-dev.
# does a 'use lib "lib/"' if exists Makefile.PL, Build.PL, or dist.ini
If you're running a script from your development root (or anything else for that matter), it's often fun to figure out how to include lib/ in your command both so that you don't need to remember to do a -Ilib or have to remember to remove 'use lib "lib"' statements before releasing.
This package aims to solve that (for one value of "solve").
If your current directory contains a directory "lib" and one or more of Makefile.PL, Build.PL, or dist.ini, then this package pushes 'lib/' onto @INC.
Chris Weyl <email@example.com>
This software is Copyright (c) 2012 by Chris Weyl.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
To install lib::if::dev, 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.