Search results for "module:Try::Tiny"
Try::Tiny - Minimal try/catch with proper preservation of $@
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
Try::Tiny::Tiny - slim Try::Tiny down as far as reasonably possible
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
Try::Tiny::NoDie - minimal try/catch with local-disabling of SIGDIE
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
Try::Tiny::Retry - Extends Try::Tiny to allow retries
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
Try::Tiny::Except - a thin wrapper around Try::Tiny
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
Try::Tiny::ByClass - selectively catch exceptions by class name
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
Try::Tiny::Warnings - extension to Try::Tiny to also catch warnings
"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
Try::Tiny::WarnCaught - Try::Tiny extension to warn exceptions
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
Try::Tiny::SmartCatch - lightweight Perl module for powerful exceptions handling
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
Try - nicer exception handling syntax
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
Try::Catch - Try Catch exception handler based on Try::Tiny But faster
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
Try::Lite - easy exception catcher with auto rethrow
Try::Lite is easy exception catch with Exception classes. Exception other than the all specified conditions are It run rethrow. THIS IS A DEVELOPMENT RELEASE. API MAY CHANGE WITHOUT NOTICE....
YAPPO/Try-Lite-0.0.3 - 25 Jul 2013 09:39:23 UTC
Try::Chain - Call method, hash and/or array chains with break on undef
Call method, hash and/or array chains with break on undef means, that in some cases it is ok to get back nothing late or early. Problem In case of method chain like my $scalar = $obj->foo(1)->bar(2)->baz(3); my %hash = ( any => 'any', baz => scalar $...
STEFFENW/Try-Chain-0.005 - 20 Apr 2017 12:33:45 UTC
Try::ALRM - Provides try/catch-like semantics for an ALRM thrown by CORE::alarm
"Try::ALRM" provides *try/catch*-like semantics for handling code being guarded by "alarm". Because it's localized and *probably* expected, "ALRM" signals can be treated as exceptions. "alarm" is extremely useful, but it can be cumbersome do add in c...
OODLER/Try-ALRM-0.82 - 29 Aug 2023 04:20:10 UTC
Nice::Try - A real Try Catch Block Implementation Using Perl Filter
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.5 - 29 Sep 2023 23:09:27 UTC
Syntax::Keyword::Try - a try/catch/finally syntax for perl
This module provides a syntax plugin that implements exception-handling semantics in a form familiar to users of other languages, being built on a block labeled with the "try" keyword, followed by at least one of a "catch" or "finally" block. As well...
PEVANS/Syntax-Keyword-Try-0.29 - 13 Jul 2023 10:10:32 UTC
Syntax::Feature::Try - try/catch/finally statement for exception handling
This module implements syntax for try/catch/finally statement with behaviour similar to other programming languages (like Java, Python, etc.). It handles correctly return/wantarray inside try/catch/finally blocks. It uses perl keyword/parser API. So ...
TNT/Syntax-Feature-Try-1.005 - 06 Mar 2016 15:53:54 UTC