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

Search results for "dist:autodie file::which"

Fatal - Replace functions with equivalents which succeed or die River stage four • 463 direct dependents • 2194 total dependents

"Fatal" provides a way to conveniently replace functions which normally return a false value when they fail with equivalents which raise exceptions if they are not successful. This lets you use these functions without having to test their return valu...

TODDR/autodie-2.37 - 28 Dec 2023 19:13:52 UTC

autodie - Replace functions with ones that succeed or die with lexical scope River stage four • 463 direct dependents • 2194 total dependents

bIlujDI' yIchegh()Qo'; yIHegh()! It is better to die() than to return() in failure. -- Klingon programming proverb. The "autodie" pragma provides a convenient way to replace functions that normally return false on failure with equivalents that throw ...

TODDR/autodie-2.37 - 28 Dec 2023 19:13:52 UTC

autodie::exception - Exceptions from autodying functions. River stage four • 463 direct dependents • 2194 total dependents

When an autodie enabled function fails, it generates an "autodie::exception" object. This can be interrogated to determine further information about the error that occurred. This document is broken into two sections; those methods that are most usefu...

TODDR/autodie-2.37 - 28 Dec 2023 19:13:52 UTC
3 results (0.048 seconds)