nonsense - no-nonsense perl
version 0.01
package Foo; no nonsense;
This is my contribution to the module-that-enables-pragmas-for-me meme. It enables strict, warnings, automatically makes your module return true, and automatically cleans out your namespace.
And, let's be honest, "no nonsense" is the best name for a pragma ever.
If you use nonsense, strict and warnings will not be enabled. What nonsense!
use nonsense
If you look at the commented-out code in unimport, I might extend this module to allow even more boilerplate-free programming. If you want a type library, you just say no nonsense 'type library'. If you want a class, you just say no nonsense 'class'.
unimport
no nonsense 'type library'
no nonsense 'class'
This module should integrate with the less pragma, so the degree of nonsense that your module
Someone mentioned that releasing a module like this makes me look like Evan Carroll. I disagree, as the words "but maintained" appear nowhere in the program text.
Jonathan Rockway <jrockway@cpan.org>
This software is copyright (c) 2010 by Jonathan Rockway.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install nonsense, copy and paste the appropriate command in to your terminal.
cpanm
cpanm nonsense
CPAN shell
perl -MCPAN -e shell install nonsense
For more information on module installation, please visit the detailed CPAN module installation guide.