inc::App::PPBuild - Copies App::PPBuild to inc/ then loads App::PPBuild.
Use this instead of App::PPBuild if you want PPBuild to bundle itself into your project/module. It is similar to Module::Install, it copies itself and all App::PPBuild::* modules that are loaded into the ./inc/ directory.
PPBFile:
use inc::App::PPBuild; ... Define tasks ... # call do_tasks() st the end of your PPBFile so that you can call the # PPBFile directly. inc::App::PPBuild does not make the ppbuild script # available. do_tasks(); 1;
These are subject to change and are not made available through exporter.
Copy the specified module to the inc/ directory. Module should be in 'relative/path/to/module.pm' format.
Essentially a recursive mkdir(). Also strips the module off the end of the path. mkpath('path/to/module.pm') will create the 'path/to' directory tree.
Recursive function to create each directory in a chain of directories.
To make dir: path/to:
_mkdir( '.', 'path', 'to' );
Chad Granum <exodist7@gmail.com>
Copyright 2009 Chad Granum
licensed under the GPL version 3. You should have received a copy of the GNU General Public License along with this. If not, see <http://www.gnu.org/licenses/>.
To install App::PPBuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::PPBuild
CPAN shell
perl -MCPAN -e shell install App::PPBuild
For more information on module installation, please visit the detailed CPAN module installation guide.