Mark Stosberg [Tue, 9 Jul 2013 21:02:48 +0000]
Add missing semicolon in docs
This looked wrong without a semicolon, so I tested it. Sure enough, it was a syntax error without it, and ran as expected with it.
Jesse Luehrs [Mon, 8 Jul 2013 21:58:58 +0000]
changelog
Jesse Luehrs [Mon, 8 Jul 2013 21:58:22 +0000]
changelog
Jesse Luehrs [Mon, 8 Jul 2013 21:57:14 +0000]
make this consistent
Mark Fowler [Fri, 5 Jul 2013 19:40:46 +0000]
fix line endings
Mark Fowler [Fri, 5 Jul 2013 19:06:03 +0000]
tests for finally name too
Mark Fowler [Fri, 5 Jul 2013 18:42:56 +0000]
tests for naming
Mark Fowler [Wed, 25 Jul 2012 15:13:56 +0000]
Change caller to show blocks belonging to our caller
Mark Fowler [Wed, 25 Jul 2012 14:59:10 +0000]
name the try, catch and finally blocks
Jesse Luehrs [Fri, 5 Jul 2013 19:19:59 +0000]
changelog
Jesse Luehrs [Fri, 5 Jul 2013 18:51:07 +0000]
also die on catch/finally in scalar context (RT#81070)
Jesse Luehrs [Thu, 4 Jul 2013 16:23:38 +0000]
changelog
Jesse Luehrs [Thu, 4 Jul 2013 16:11:09 +0000]
eh, don't test 5.8
Jesse Luehrs [Thu, 4 Jul 2013 16:02:36 +0000]
update test counts for removing use_ok
Jesse Luehrs [Thu, 4 Jul 2013 16:12:56 +0000]
update this link too
Jesse Luehrs [Thu, 4 Jul 2013 16:10:02 +0000]
stop using use_ok, it's pointless
Jesse Luehrs [Thu, 4 Jul 2013 16:06:00 +0000]
dzilify and stuff
Jesse Luehrs [Thu, 4 Jul 2013 14:32:25 +0000]
Merge pull request #7 from ribasushi/master
Various housekeeping etc
Peter Rabbitson [Thu, 4 Jul 2013 10:58:38 +0000]
Fix linkage brainfart from
2245f1ae
Peter Rabbitson [Thu, 4 Jul 2013 09:42:24 +0000]
The construct introduced in
2b0d579d8 confuses perl 5.6 - simplify
Peter Rabbitson [Thu, 4 Jul 2013 08:25:02 +0000]
Make sure users are properly notified of (useless) exceptions in finally blocks
It is possible to rewrite Try::Tiny to invoke the finally blocks without
the use of scope guards, however to do this an extra eval frame around
catch will have to be introduced. Furthermore code in the wild may rely
on the "ignorance" of a finally() exception.
In short - the proper fix may no longer be feasible due to backcompat
issues, therefore the current warning seems like the only feasible
compromise.
Ricardo Signes [Sat, 15 Sep 2012 02:15:31 +0000]
correct prototypes in docs
Peter Rabbitson [Thu, 4 Jul 2013 07:02:18 +0000]
Clarify exception on unexpected try() arguments
Peter Rabbitson [Thu, 4 Jul 2013 06:45:13 +0000]
Sanity check erroneous invocations
Peter Rabbitson [Thu, 4 Jul 2013 05:48:56 +0000]
Fix broken link to slides (RT#55659)
Peter Rabbitson [Thu, 4 Jul 2013 05:06:06 +0000]
We already explicitly save the value of $@ - local()ization is not needed
511c05cae introduced an extension to try{} - unlike in an eval{} a try{}
block has access to the previous value of $@. Since we already have a copy,
we can do a manual restore of $@ instead of the expensive local() mechanism.
Results in a 7% speedup of bare try{} on 5.16
Peter Rabbitson [Thu, 4 Jul 2013 04:19:38 +0000]
This is no longer a TODO, but given the experimental nature not ready to be documented
https://metacpan.org/module/SHAY/perl-5.17.3/pod/perldelta.pod#given-now-aliases-the-global-_
Peter Rabbitson [Thu, 4 Jul 2013 04:12:42 +0000]
"Modernize" code a bit
Turn on warnings everywhere (5.6 being lowest target)
Silence experimental warnings in given/when tests
Peter Rabbitson [Thu, 4 Jul 2013 03:48:34 +0000]
fix tests failing on 5.6.x due to differing DESTROY semantics
Peter Rabbitson [Thu, 4 Jul 2013 03:46:56 +0000]
Detabardize - standardize code/tests on 2-space indent
Zero functional changes (examine under git diff -w)
Jesse Luehrs [Wed, 2 Jan 2013 16:28:06 +0000]
changelog and version bump
Jesse Luehrs [Wed, 2 Jan 2013 16:27:27 +0000]
this todo is only relevant before 5.14
Jesse Luehrs [Wed, 2 Jan 2013 16:23:59 +0000]
MYMETA stuff to MANIFEST.SKIP
Jesse Luehrs [Wed, 2 Jan 2013 16:22:10 +0000]
Merge pull request #5 from cebjyre/docs
Documentation fixes
Glenn Fowler [Thu, 20 Dec 2012 01:33:01 +0000]
Documentation fixes
Fixed a simple typo, and an internal POD link.
Jesse Luehrs [Wed, 14 Nov 2012 22:33:39 +0000]
Merge pull request #4 from karenetheridge/topic/doc_
20121114
Documentation improvements
Karen Etheridge [Wed, 14 Nov 2012 21:08:50 +0000]
C<> tags, minor punctuation and grammar fixes
Karen Etheridge [Wed, 14 Nov 2012 21:02:01 +0000]
add alternative mechanisms for fallback return values
Karen Etheridge [Wed, 14 Nov 2012 20:59:46 +0000]
add repo info to metadata
Jesse Luehrs [Tue, 30 Aug 2011 15:50:18 +0000]
changelog and version bump
Jesse Luehrs [Tue, 10 May 2011 00:35:48 +0000]
better example for returning from a try block (forwardever)
Peter Rabbitson [Thu, 28 Apr 2011 11:41:49 +0000]
Test context/RV of try/catch/finally blocks
Jesse Luehrs [Wed, 27 Apr 2011 22:36:41 +0000]
changelog and version bump
Jesse Luehrs [Wed, 27 Apr 2011 22:34:43 +0000]
clarify the state of $_ in finally blocks
Ricardo Signes [Thu, 24 Feb 2011 14:48:30 +0000]
caveat about error-silencing
Jesse Luehrs [Sun, 28 Nov 2010 22:42:15 +0000]
changelog and version bump
Jesse Luehrs [Sun, 28 Nov 2010 22:41:25 +0000]
don't index ::ScopeGuard
Jesse Luehrs [Sun, 28 Nov 2010 22:00:36 +0000]
changelog and version bump
Jesse Luehrs [Sun, 28 Nov 2010 21:53:14 +0000]
add test for finally being called when catch dies
Jesse Luehrs [Sun, 28 Nov 2010 21:39:13 +0000]
fix issue with blead (require 5.010 != use 5.010)
Ricardo Signes [Thu, 21 Oct 2010 20:19:08 +0000]
avoid a warning when testing with -w
Ricardo Signes [Thu, 21 Oct 2010 20:18:27 +0000]
no, do not sign our release
Ricardo Signes [Thu, 21 Oct 2010 20:16:03 +0000]
bump version for release
Ricardo Signes [Thu, 21 Oct 2010 18:58:10 +0000]
typo fix
Ricardo Signes [Thu, 21 Oct 2010 18:56:57 +0000]
document changes for next version
Ricardo Signes [Thu, 21 Oct 2010 18:52:22 +0000]
document args to finally{} block
Ricardo Signes [Thu, 21 Oct 2010 18:52:14 +0000]
test for finally{} getting the error
Ricardo Signes [Thu, 21 Oct 2010 18:41:39 +0000]
allow multiple finally{} per try{}; pass error in
Peter Rabbitson [Tue, 1 Jun 2010 22:39:56 +0000]
Add docs about @_ aliasing
Yuval Kogman [Thu, 27 May 2010 09:47:32 +0000]
version bump
Yuval Kogman [Thu, 27 May 2010 09:47:21 +0000]
changelog
Yuval Kogman [Thu, 27 May 2010 09:46:50 +0000]
use a plan instead of done_testing in TODO test
Yuval Kogman [Wed, 26 May 2010 12:52:58 +0000]
Version bump
Alex [Mon, 22 Mar 2010 14:14:17 +0000]
move use test to BEGIN block
Yuval Kogman [Tue, 23 Feb 2010 11:16:03 +0000]
changelog
Yuval Kogman [Tue, 23 Feb 2010 11:11:31 +0000]
add TODO test for lexical $_ gotcha
Yuval Kogman [Tue, 23 Feb 2010 11:07:06 +0000]
Clarify $_/$@ distinction
Yuval Kogman [Tue, 23 Feb 2010 11:06:05 +0000]
Document lexical lib/Try/Tiny.pm caveat
Yuval Kogman [Tue, 23 Feb 2010 11:03:24 +0000]
clarify docs on %Carp::Internal
Yuval Kogman [Fri, 5 Feb 2010 07:07:55 +0000]
Docuemnt $_ vs. $@ gotcha in catch for exception stack capturing
Jesse Luehrs [Sat, 19 Dec 2009 04:27:39 +0000]
fix link to try-tiny lightning talk
Yuval Kogman [Thu, 28 Jan 2010 15:07:44 +0000]
Document $SIG{__DIE__} behavior (or lack thereof)
Jonathan Yu [Sun, 24 Jan 2010 18:47:30 +0000]
spelling corrections
Yuval Kogman [Fri, 22 Jan 2010 20:07:04 +0000]
version bump
Yuval Kogman [Fri, 22 Jan 2010 20:07:01 +0000]
changelog
Yuval Kogman [Fri, 22 Jan 2010 20:04:47 +0000]
Restore list context for catch and fix a bug in finally with no catch
Yuval Kogman [Fri, 22 Jan 2010 17:53:40 +0000]
version bump
Yuval Kogman [Fri, 22 Jan 2010 17:53:29 +0000]
changelog
Andrew Yates [Fri, 22 Jan 2010 17:41:45 +0000]
Add support for 'finally' blocks
Hans Dieter Pearcey [Thu, 21 Jan 2010 20:25:30 +0000]
try to clarify a caveat
Marc Mims [Thu, 17 Dec 2009 14:15:02 +0000]
Document implicit return value from catch
Signed-off-by: Yuval Kogman <nothingmuch@woobling.org>
Yuval Kogman [Tue, 3 Nov 2009 13:03:39 +0000]
Set $Carp::Internal{"Try::Tiny"}
Yuval Kogman [Tue, 20 Oct 2009 21:31:54 +0000]
document the @_ gotcha
Yuval Kogman [Thu, 8 Oct 2009 16:01:46 +0000]
Mention Sub::Import in docs
Jesse Luehrs [Wed, 23 Sep 2009 02:50:55 +0000]
fix spelling/grammar in comments and pod
Yuval Kogman [Fri, 18 Sep 2009 14:58:49 +0000]
link to talk
Yuval Kogman [Fri, 18 Sep 2009 14:50:49 +0000]
fix typo in docs found by rjbs
Yuval Kogman [Fri, 11 Sep 2009 17:57:13 +0000]
Document and test for prev value of $@ in catch
Since catch is invoked after the delocalization the previous value of $@
(whether meaningful or not) should still be available.
Yuval Kogman [Fri, 11 Sep 2009 17:52:41 +0000]
Restore the value of $@ from before the local
This allows exception objects to be constructed with the previous value
of $@, but that behavior would rely on Try::Tiny
Yuval Kogman [Thu, 3 Sep 2009 02:09:10 +0000]
tests for nesting inside catch block
Yuval Kogman [Wed, 2 Sep 2009 17:44:13 +0000]
changelog
Yuval Kogman [Wed, 2 Sep 2009 17:43:47 +0000]
version bump
Yuval Kogman [Wed, 2 Sep 2009 17:26:29 +0000]
5.005_04 compat
Yuval Kogman [Wed, 2 Sep 2009 16:23:07 +0000]
namedropping for autodie
Yuval Kogman [Tue, 1 Sep 2009 11:51:36 +0000]
trailing semicolon in doc example
Yuval Kogman [Tue, 1 Sep 2009 04:09:22 +0000]
changelog
Yuval Kogman [Tue, 1 Sep 2009 04:08:36 +0000]
minor doc and code fixes
Yuval Kogman [Tue, 1 Sep 2009 03:52:06 +0000]
misc fixes suggested by Alias
Yuval Kogman [Mon, 31 Aug 2009 20:25:50 +0000]
mention Throwable in SEE ALSO
chromatic [Mon, 31 Aug 2009 20:14:57 +0000]
Minor typo fixes in documentation.