pmonoff - alter code to use or not use modules
This alters code. It searches for a module and looks for use statments, and turns them on or off. Prints to stdout. This is useful for Smart::Comments for example.
pmonoff [OPTION].. [FILE]..
-h help -m string module name -o turn on -x turn off -v version -d debug -w backup old file and overrite changes instead of stdout
Show code with Smart::Comments off, print to stdout. pmonoff -m Smart::Comments -x ./lib/My/Module.pm
Make sure Smart::Comments off, if changes made, save the file, make a backup of the original. pmonoff -w -m Smart::Comments -x ./lib/My/Module.pm
Find all files here, and change them if they are perl files and a change is made , backs up
find ./lib ./bin ./t -type f -exec perl bin/pmonoff -m Smart::Comments -x -w '{}' \;
LEOCHARRE::Dev - parent package
To install LEOCHARRE::Dev, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LEOCHARRE::Dev
CPAN shell
perl -MCPAN -e shell install LEOCHARRE::Dev
For more information on module installation, please visit the detailed CPAN module installation guide.