The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.006 - 2022-12-02

  • Documentation
    • Clarify that wantarray in functions returning a Result is useless.
  • Other
    • Added: Functions can now use a `:Result` attribute to indicate they return a Result. They may optionally include a type constraint, like `:Result(Int)`.

Modules

a class for error results
a class for non-error results
a class for non-error results which must be unwrapped in list context
the trait which all Result objects implement head1 SYNOPSIS
why throw exceptions when you can return them?
quickly create a bunch of exception classes
wrap a method call in a Result