The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

lib::if::dev - Use lib/ if we're in a dev root

VERSION

This document describes version 0.001 of lib::if::dev - released September 08, 2012 as part of lib-if-dev.

SYNOPSIS

    # does a 'use lib "lib/"' if exists Makefile.PL, Build.PL, or dist.ini
    use lib::if::dev;

DESCRIPTION

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.

SOURCE

The development version is on github at http://github.com/RsrchBoy/lib-if-dev and may be cloned from git://github.com/RsrchBoy/lib-if-dev.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/lib-if-dev/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Chris Weyl <cweyl@alumni.drew.edu>

COPYRIGHT AND LICENSE

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