Basic constructor. Will populate $self with any parameters passed.
Returns the new instance.
Shallow clone implementation.
Returns a new instance with a copy of everything in the hashref.
Simple method to dump out this object and all attributes.
Generate a coderef that takes a weakened value of $self.
Usage:
push @handler, $obj->sap(sub { my $self = shift; $self->do_something; });
To install EntityModel::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EntityModel::Class
CPAN shell
perl -MCPAN -e shell install EntityModel::Class
For more information on module installation, please visit the detailed CPAN module installation guide.