ad4f267b7a
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
9 lines
480 B
Text
9 lines
480 B
Text
Polymorphic return values are really useful. Often, we just want to
|
|
know if something worked or not. Other times, we'd like to know what
|
|
the error text was. Still others, we may want to know what the error
|
|
code was, and what the error properties were. We don't want to handle
|
|
objects or data structures for every single return value, but we do want
|
|
to check error conditions in our code because that's what good
|
|
programmers do.
|
|
|
|
WWW: https://metacpan.org/release/Return-Value
|