| Data::Util::Error(3) | User Contributed Perl Documentation | Data::Util::Error(3) |
NAME¶
Data::Util::Error - Deals with class-specific error handlers in Data::Util
SYNOPSIS¶
package Foo;
use Data::Util::Error sub{ Foo::InvalidArgument->throw_error(@_) };
use Data::Util qw(:validate);
sub f{
my $x_ref = array_ref shift; # Foo::InvalidArgument is thrown if invalid
# ...
}
Functions¶
SEE ALSO¶
Data::Util.
| 2022-03-17 | perl v5.26.1 |