| Data::Util::Error(3pm) | User Contributed Perl Documentation | Data::Util::Error(3pm) |
Data::Util::Error - Deals with class-specific error handlers in Data::Util
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
# ...
}
Data::Util.
| 2025-01-04 | perl v5.40.0 |