NAME

Data::Result::Moo - Data::Result Moo Role

SYNOPSIS

  use Modern::Perl;
  use Moo;
  with('Data::Result::Moo);

Description

A simple Moo role wrapper for Data::Result

OO Methods

  • my $result->new_true($data,$extra|undef)

    Creates a new true Data::Result Object

  • my $result=$self->new_false($msg,$extra|undef)

    Creates a new false Data::Result Object

  • $class=$self->RESULT_CLASS;

    Returns the class being used to generate result object. Defaults to Data::Result;

Author

Mike Shipper <AKALINUX@CPAN.ORG>