Upstream changes:
0.18 2013-08-17
- fix tests for pre-Test-More-0.88 (Paul Howarth, #10)
0.17 2013-08-16
- work around [rt.perl #119311] which was causing incorrect error messages in
some cases during global destruction (Graham Knop, #9)
0.16 2013-07-10
- remove accidental Sub::Name test dep
0.15 2013-07-08
- optionally use Sub::Name to name the try/catch/finally blocks, if available
(Mark Fowler)
0.14 2013-07-05
- also throw an exception for catch/finally in scalar context (RT#81070)
0.13 2013-07-04
- fix tests failing on 5.6.x due to differing DESTROY semantics
- excise superfluous local($@) call - 7% speedup
- fix (fsvo) broken URLs (RT#55659)
- proper exception on erroneous usage of bare catch/finally (RT#81070)
- proper exception on erroneous use of multiple catch{} blocks
- clarify exception occuring on unterminated try block (RT#75712)
- fix the prototypes shown in docs to match code (RT#79590; thanks, Pushtaev
Vadim)
- warn loudly on exceptions in finally() blocks
- dzilify
Try-Tiny-0.12 in devel/p5-Try-Tiny from 0.11nb2 to 0.12 because of
forced www/p5-Apache-LogFormat-Compiler update requires Try::Tiny 0.12.
Upstream changes:
0.12
- doc fixes
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
0.09
- don't index Try::Tiny::ScopeGuard
0.08
- fix require vs use issue in blead (RT63410)
0.07
- allow multiple finally blocks
- pass the error, if any, to finally blocks when called
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
Upstream changes:
0.06
- in t/given_when.t use a plan instead of done_testing for more backwards
compatibility
0.05
- Documentation fixes and clarifications
pkgsrc changes:
- Adding license definition
Upstream changes:
0.04
- Restore list context propagation for catch blocks
- Fix a bug where finally blocks weren't always invoked
0.03
- Support for 'finally' blocks (Andy Yates)
- More documentation and tests (many people)
- Sets $@ to the previous value at the beginning of the eval, to allow
the capture of an error stack when calling die.
Collection.
The Perl 5 module Try::Tiny provides bare bones try/catch statements
that are designed to minimize common mistakes with eval blocks, and
NOTHING else.