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.
This module is part of MVC::Neaf suite.
Copyright 2016-2018 Konstantin S. Uvarin khedin@cpan.org.
khedin@cpan.org
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
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.