Module::Build::Mojolicious
# Build.PL use Module::Build::Mojolicious clean_install => 1; my $builder = Module::Build::Mojolicious->new( configure_requires => { 'Module::Build::Mojolicious' => 0, 'Module::Build' => 0.38, }, ... ); $builder->create_build_script;
A subclass of Module::Build for use with Mojolicious. See Mojolicious::Plugin::InstallablePaths for more documentation.
Note that you should add it to the configure_requires key as you should for any module used in a Build.PL file.
configure_requires
Build.PL
If imported with the option clean_install => 1, Module::Build::CleanInstall will be inserted into the inheritance tree at import time. This module ensures that old files are removed before upgrading an already installed module. The author recommends this option be enabled.
clean_install => 1
http://github.com/jberger/Mojolicious-Plugin-InstallablePaths
Joel Berger, <joel.a.berger@gmail.com>
Copyright (C) 2012 by Joel Berger
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Mojolicious::Plugin::InstallablePaths, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::InstallablePaths
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::InstallablePaths
For more information on module installation, please visit the detailed CPAN module installation guide.