MVC::Neaf::X - base class for Not Even A Framework extentions.
package MVC::Neaf::X::My::Module; use parent qw(MVC::Neaf::X); sub foo { my $self = shift; $self->my_croak("unimplemented"); # will die with package & foo prepended }; 1;
Start out a Neaf extention by subclassing this class.
Some convenience methods here to help develop.
Will happily accept any args and pack them into self.
Like croak() from Carp, but the message is prefixed with self's package and the name of method in which error occurred.
To install MVC::Neaf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MVC::Neaf
CPAN shell
perl -MCPAN -e shell install MVC::Neaf
For more information on module installation, please visit the detailed CPAN module installation guide.