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 "Try::Tiny"

Try::Tiny - Minimal try/catch with proper preservation of $@ River stage five • 1160 direct dependents • 16205 total dependents

This module provides bare bones "try"/"catch"/"finally" statements that are designed to minimize common mistakes with eval blocks, and NOTHING else. This is unlike TryCatch which provides a nice syntax and avoids adding another call stack layer, and ...

ETHER/Try-Tiny-0.31 - 23 Nov 2021 20:30:31 UTC - Search in distribution

Try::Tiny::Tiny - slim Try::Tiny down as far as reasonably possible River stage zero No dependents

This module slims down Try::Tiny as much as possible, currently by preventing Try::Tiny from giving somewhat more human-friendly names to the code references it is passed. This is done by blocking Try::Tiny from finding any of the utility modules it ...

ARISTOTLE/Try-Tiny-Tiny-0.005 - 04 Sep 2022 15:36:28 UTC - Search in distribution

Try::Tiny::NoDie - minimal try/catch with local-disabling of SIGDIE River stage zero No dependents

This module is primarily designed for developer convenience, for cases wherein the desired behavior within the scope of the error throwing code is a nullified "__DIE__" handler....

ATANCASIS/Try-Tiny-NoDie-0.01 - 25 Aug 2016 08:01:38 UTC - Search in distribution

Try::Tiny::Retry - Extends Try::Tiny to allow retries River stage one • 7 direct dependents • 8 total dependents

This module extends Try::Tiny to allow for retrying a block of code several times before failing. Otherwise, it works seamlessly like Try::Tiny. By default, Try::Tiny::Retry exports "retry" and "retry_if", plus "try", "catch" and "finally" from Try::...

DAGOLDEN/Try-Tiny-Retry-0.004 - 08 Jul 2014 00:47:48 UTC - Search in distribution

Try::Tiny::Except - a thin wrapper around Try::Tiny River stage zero No dependents

Try::Tiny works great in most situations. However, in sometimes you might want a certain exception being propagated always without the possibility to catch it in a "catch" block or to ignore it. For instance CGI::Compile or mod_perl's ModPerl::Regist...

OPI/Try-Tiny-Except-0.01 - 11 Dec 2014 09:00:50 UTC - Search in distribution

Try::Tiny::ByClass - selectively catch exceptions by class name River stage two • 1 direct dependent • 84 total dependents

This module is a simple wrapper around "Try::Tiny", which see. It re-exports "try", "catch", and "finally". In addition, it provides a way to catch only some exceptions by filtering on the class (including superclasses and consumed roles) of an excep...

MAUKE/Try-Tiny-ByClass-0.01 - 04 Jan 2013 03:11:29 UTC - Search in distribution

Try::Tiny::Warnings - extension to Try::Tiny to also catch warnings River stage two • 1 direct dependent • 10 total dependents

"Try::Tiny::Warnings" adds a few keywords to Try::Tiny to deal with warnings. The first keyword, "try_fatal_warnings", behaves like "try", excepts that it also makes any "warn()" within its block behave like "die()". If the block dies because of such...

YANICK/Try-Tiny-Warnings-0.1.0 - 26 Nov 2016 19:49:27 UTC - Search in distribution

Try::Tiny::SmartCatch - lightweight Perl module for powerful exceptions handling River stage zero No dependents

Goals are mostly the same as Try::Tiny module, but there are few changes to it's specification. Main difference is possibility to catch just some kinds of exceptions in place of catching everything. Another one is slightly changed syntax. When raised...

MYSZ/Try-Tiny-SmartCatch-0.5 - 03 Jan 2013 18:10:36 UTC - Search in distribution

Try::Tiny::WarnCaught - Try::Tiny extension to warn exceptions River stage zero No dependents

This module extends the very useful Try::Tiny's "catch" functionality to automatically issue a warning containing the caught exception....

RATAXIS/Try-Tiny-WarnCaught-0.01 - 23 Apr 2011 16:54:55 UTC - Search in distribution

Trace::Mask::TryTiny - Trace::Mask tools for masking Try::Tiny in traces River stage zero No dependents

This module can be used to apply Trace::Mask behavior to Try::Tiny so that it is hidden in Trace::Mask compliant stack traces....

EXODIST/Trace-Mask-0.000008 - 16 Jun 2016 14:37:41 UTC - Search in distribution

Perl::Critic::Policy::TryTiny::RequireUse - Requires that code which utilizes Try::Tiny actually use()es it. River stage one • 1 direct dependent • 1 total dependent

A common problem with Try::Tiny is forgetting to use the module in the first place. For example: perl -e 'try { print "hello" } catch { print "world" }' Can't call method "catch" without a package or object reference at -e line 1. helloworld If you f...

BLUEFEET/Perl-Critic-Policy-TryTiny-RequireUse-0.05 - 03 Mar 2019 18:55:41 UTC - Search in distribution

Perl::Critic::Policy::TryTiny::RequireBlockTermination - Requires that try/catch/finally blocks are properly terminated. River stage one • 1 direct dependent • 1 total dependent

A common problem with Try::Tiny is forgetting to put a semicolon after the try/catch/finally block which can lead to difficul to debug issues. While Try::Tiny does do its best to detect this issue it cannot if the code after the block returns an empt...

BLUEFEET/Perl-Critic-Policy-TryTiny-RequireBlockTermination-0.03 - 03 Mar 2019 18:51:40 UTC - Search in distribution

Try::Catch - Try Catch exception handler based on Try::Tiny But faster River stage two • 12 direct dependents • 14 total dependents

A small, fast, try catch blocks for perl, it's inspired and mostly copied from Try::Tiny but with some modifications to boost execution speed, see "Benchmarks". I published a new module instead of contributing to Try::Tiny directly because I had to b...

MAMOD/Try-Catch-1.1.0 - 17 Dec 2016 20:37:30 UTC - Search in distribution

Error::Tiny - Tiny exceptions River stage zero No dependents

Error::Tiny is a lightweight exceptions implementation....

VTI/Error-Tiny-0.03 - 07 Jan 2014 20:27:19 UTC - Search in distribution

Retry - Try an action repeatedly with callback support River stage one • 1 direct dependent • 1 total dependent

TJC/Retry-1.04 - 06 Aug 2018 00:14:40 UTC - Search in distribution

MAD::Loader - A tiny module loader River stage one • 1 direct dependent • 2 total dependents

BLABOS/MAD-Loader-3.001003 - 28 Feb 2015 02:41:04 UTC - Search in distribution

Nice::Try - A real Try Catch Block Implementation Using Perl Filter River stage two • 19 direct dependents • 23 total dependents

Nice::Try is a lightweight implementation of Try-Catch exception trapping block using perl filter. It behaves like you would expect. Here is a list of its distinctive features: * No routine to import like "Nice::Try qw( try catch )". Just add "use Ni...

JDEGUEST/Nice-Try-v1.3.10 - 26 Mar 2024 00:57:03 UTC - Search in distribution

Error::Return - Really return() from a try/catch-block River stage zero No dependents

This module provides a way to return from within try/catch blocks with the expected semantics....

MARCEL/Error-Return-1.110510 - 20 Feb 2011 14:28:08 UTC - Search in distribution

Z - collection of modules for rapid app development River stage one • 1 direct dependent • 1 total dependent

Just a shortcut for loading a bunch of modules that allow you to quickly code Perl stuff. I've tried to avoid too many domain-specific modules like HTTP::Tiny, etc. The modules chosen should be broadly useful for a wide variety of tasks. Perl Version...

TOBYINK/Z-0.008 - 08 Nov 2020 16:08:49 UTC - Search in distribution

Try - nicer exception handling syntax River stage zero No dependents

This module implements a try/catch/finally statement. It is based heavily on (and mostly implemented via) Try::Tiny. The differences are: * It is a statement. "my $foo = try { ... }" doesn't work anymore, but in return, you don't have to remember the...

DOY/Try-0.03 - 09 Jan 2013 08:46:07 UTC - Search in distribution
744 results (0.128 seconds)