11 years agocorrect prototypes in docs
Ricardo Signes [Sat, 15 Sep 2012 02:15:31 +0000]
correct prototypes in docs

11 years agoClarify exception on unexpected try() arguments
Peter Rabbitson [Thu, 4 Jul 2013 07:02:18 +0000]
Clarify exception on unexpected try() arguments

11 years agoSanity check erroneous invocations
Peter Rabbitson [Thu, 4 Jul 2013 06:45:13 +0000]
Sanity check erroneous invocations

11 years agoFix broken link to slides (RT#55659)
Peter Rabbitson [Thu, 4 Jul 2013 05:48:56 +0000]
Fix broken link to slides (RT#55659)

11 years agoWe already explicitly save the value of $@ - local()ization is not needed
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

11 years agoThis is no longer a TODO, but given the experimental nature not ready to be documented
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-_

11 years ago"Modernize" code a bit
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

11 years agofix tests failing on 5.6.x due to differing DESTROY semantics
Peter Rabbitson [Thu, 4 Jul 2013 03:48:34 +0000]
fix tests failing on 5.6.x due to differing DESTROY semantics

11 years agoDetabardize - standardize code/tests on 2-space indent
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)

11 years agochangelog and version bump Try-Tiny-0.12
Jesse Luehrs [Wed, 2 Jan 2013 16:28:06 +0000]
changelog and version bump

11 years agothis todo is only relevant before 5.14
Jesse Luehrs [Wed, 2 Jan 2013 16:27:27 +0000]
this todo is only relevant before 5.14

11 years agoMYMETA stuff to MANIFEST.SKIP
Jesse Luehrs [Wed, 2 Jan 2013 16:23:59 +0000]
MYMETA stuff to MANIFEST.SKIP

11 years agoMerge pull request #5 from cebjyre/docs
Jesse Luehrs [Wed, 2 Jan 2013 16:22:10 +0000]
Merge pull request #5 from cebjyre/docs

Documentation fixes

11 years agoDocumentation fixes
Glenn Fowler [Thu, 20 Dec 2012 01:33:01 +0000]
Documentation fixes

Fixed a simple typo, and an internal POD link.

12 years agoMerge pull request #4 from karenetheridge/topic/doc_20121114
Jesse Luehrs [Wed, 14 Nov 2012 22:33:39 +0000]
Merge pull request #4 from karenetheridge/topic/doc_20121114

Documentation improvements

12 years agoC<> tags, minor punctuation and grammar fixes
Karen Etheridge [Wed, 14 Nov 2012 21:08:50 +0000]
C<> tags, minor punctuation and grammar fixes

12 years agoadd alternative mechanisms for fallback return values
Karen Etheridge [Wed, 14 Nov 2012 21:02:01 +0000]
add alternative mechanisms for fallback return values

12 years agoadd repo info to metadata
Karen Etheridge [Wed, 14 Nov 2012 20:59:46 +0000]
add repo info to metadata

13 years agochangelog and version bump Try-Tiny-0.11
Jesse Luehrs [Tue, 30 Aug 2011 15:50:18 +0000]
changelog and version bump

13 years agobetter example for returning from a try block (forwardever)
Jesse Luehrs [Tue, 10 May 2011 00:35:48 +0000]
better example for returning from a try block (forwardever)

13 years agoTest context/RV of try/catch/finally blocks
Peter Rabbitson [Thu, 28 Apr 2011 11:41:49 +0000]
Test context/RV of try/catch/finally blocks

13 years agochangelog and version bump Try-Tiny-0.10
Jesse Luehrs [Wed, 27 Apr 2011 22:36:41 +0000]
changelog and version bump

13 years agoclarify the state of $_ in finally blocks
Jesse Luehrs [Wed, 27 Apr 2011 22:34:43 +0000]
clarify the state of $_ in finally blocks

13 years agocaveat about error-silencing
Ricardo Signes [Thu, 24 Feb 2011 14:48:30 +0000]
caveat about error-silencing

13 years agochangelog and version bump Try-Tiny-0.09
Jesse Luehrs [Sun, 28 Nov 2010 22:42:15 +0000]
changelog and version bump

13 years agodon't index ::ScopeGuard
Jesse Luehrs [Sun, 28 Nov 2010 22:41:25 +0000]
don't index ::ScopeGuard

13 years agochangelog and version bump Try-Tiny-0.08
Jesse Luehrs [Sun, 28 Nov 2010 22:00:36 +0000]
changelog and version bump

13 years agoadd test for finally being called when catch dies
Jesse Luehrs [Sun, 28 Nov 2010 21:53:14 +0000]
add test for finally being called when catch dies

13 years agofix issue with blead (require 5.010 != use 5.010)
Jesse Luehrs [Sun, 28 Nov 2010 21:39:13 +0000]
fix issue with blead (require 5.010 != use 5.010)

14 years agoavoid a warning when testing with -w Try-Tiny-0.07
Ricardo Signes [Thu, 21 Oct 2010 20:19:08 +0000]
avoid a warning when testing with -w

14 years agono, do not sign our release
Ricardo Signes [Thu, 21 Oct 2010 20:18:27 +0000]
no, do not sign our release

14 years agobump version for release
Ricardo Signes [Thu, 21 Oct 2010 20:16:03 +0000]
bump version for release

14 years agotypo fix
Ricardo Signes [Thu, 21 Oct 2010 18:58:10 +0000]
typo fix

14 years agodocument changes for next version
Ricardo Signes [Thu, 21 Oct 2010 18:56:57 +0000]
document changes for next version

14 years agodocument args to finally{} block
Ricardo Signes [Thu, 21 Oct 2010 18:52:22 +0000]
document args to finally{} block

14 years agotest for finally{} getting the error
Ricardo Signes [Thu, 21 Oct 2010 18:52:14 +0000]
test for finally{} getting the error

14 years agoallow multiple finally{} per try{}; pass error in
Ricardo Signes [Thu, 21 Oct 2010 18:41:39 +0000]
allow multiple finally{} per try{}; pass error in

14 years agoAdd docs about @_ aliasing
Peter Rabbitson [Tue, 1 Jun 2010 22:39:56 +0000]
Add docs about @_ aliasing

14 years agoversion bump Try-Tiny-0.06
Yuval Kogman [Thu, 27 May 2010 09:47:32 +0000]
version bump

14 years agochangelog
Yuval Kogman [Thu, 27 May 2010 09:47:21 +0000]
changelog

14 years agouse a plan instead of done_testing in TODO test
Yuval Kogman [Thu, 27 May 2010 09:46:50 +0000]
use a plan instead of done_testing in TODO test

14 years agoVersion bump Try-Tiny-0.05
Yuval Kogman [Wed, 26 May 2010 12:52:58 +0000]
Version bump

14 years agomove use test to BEGIN block
Alex [Mon, 22 Mar 2010 14:14:17 +0000]
move use test to BEGIN block

14 years agochangelog
Yuval Kogman [Tue, 23 Feb 2010 11:16:03 +0000]
changelog

14 years agoadd TODO test for lexical $_ gotcha
Yuval Kogman [Tue, 23 Feb 2010 11:11:31 +0000]
add TODO test for lexical $_ gotcha

14 years agoClarify $_/$@ distinction
Yuval Kogman [Tue, 23 Feb 2010 11:07:06 +0000]
Clarify $_/$@ distinction

14 years agoDocument lexical lib/Try/Tiny.pm caveat
Yuval Kogman [Tue, 23 Feb 2010 11:06:05 +0000]
Document lexical lib/Try/Tiny.pm caveat

14 years agoclarify docs on %Carp::Internal
Yuval Kogman [Tue, 23 Feb 2010 11:03:24 +0000]
clarify docs on %Carp::Internal

14 years agoDocuemnt $_ vs. $@ gotcha in catch for exception stack capturing
Yuval Kogman [Fri, 5 Feb 2010 07:07:55 +0000]
Docuemnt $_ vs. $@ gotcha in catch for exception stack capturing

14 years agofix link to try-tiny lightning talk
Jesse Luehrs [Sat, 19 Dec 2009 04:27:39 +0000]
fix link to try-tiny lightning talk

14 years agoDocument $SIG{__DIE__} behavior (or lack thereof)
Yuval Kogman [Thu, 28 Jan 2010 15:07:44 +0000]
Document $SIG{__DIE__} behavior (or lack thereof)

14 years agospelling corrections
Jonathan Yu [Sun, 24 Jan 2010 18:47:30 +0000]
spelling corrections

14 years agoversion bump Try-Tiny-0.04
Yuval Kogman [Fri, 22 Jan 2010 20:07:04 +0000]
version bump

14 years agochangelog
Yuval Kogman [Fri, 22 Jan 2010 20:07:01 +0000]
changelog

14 years agoRestore list context for catch and fix a bug in finally with no catch
Yuval Kogman [Fri, 22 Jan 2010 20:04:47 +0000]
Restore list context for catch and fix a bug in finally with no catch

14 years agoversion bump Try-Tiny-0.03
Yuval Kogman [Fri, 22 Jan 2010 17:53:40 +0000]
version bump

14 years agochangelog
Yuval Kogman [Fri, 22 Jan 2010 17:53:29 +0000]
changelog

14 years agoAdd support for 'finally' blocks
Andrew Yates [Fri, 22 Jan 2010 17:41:45 +0000]
Add support for 'finally' blocks

14 years agotry to clarify a caveat
Hans Dieter Pearcey [Thu, 21 Jan 2010 20:25:30 +0000]
try to clarify a caveat

14 years agoDocument implicit return value from catch
Marc Mims [Thu, 17 Dec 2009 14:15:02 +0000]
Document implicit return value from catch

Signed-off-by: Yuval Kogman <nothingmuch@woobling.org>

15 years agoSet $Carp::Internal{"Try::Tiny"}
Yuval Kogman [Tue, 3 Nov 2009 13:03:39 +0000]
Set $Carp::Internal{"Try::Tiny"}

15 years agodocument the @_ gotcha
Yuval Kogman [Tue, 20 Oct 2009 21:31:54 +0000]
document the @_ gotcha

15 years agoMention Sub::Import in docs
Yuval Kogman [Thu, 8 Oct 2009 16:01:46 +0000]
Mention Sub::Import in docs

15 years agofix spelling/grammar in comments and pod
Jesse Luehrs [Wed, 23 Sep 2009 02:50:55 +0000]
fix spelling/grammar in comments and pod

15 years agolink to talk
Yuval Kogman [Fri, 18 Sep 2009 14:58:49 +0000]
link to talk

15 years agofix typo in docs found by rjbs
Yuval Kogman [Fri, 18 Sep 2009 14:50:49 +0000]
fix typo in docs found by rjbs

15 years agoDocument and test for prev value of $@ in catch
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.

15 years agoRestore the value of $@ from before the local
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

15 years agotests for nesting inside catch block
Yuval Kogman [Thu, 3 Sep 2009 02:09:10 +0000]
tests for nesting inside catch block

15 years agochangelog Try-Tiny-0.02
Yuval Kogman [Wed, 2 Sep 2009 17:44:13 +0000]
changelog

15 years agoversion bump
Yuval Kogman [Wed, 2 Sep 2009 17:43:47 +0000]
version bump

15 years ago5.005_04 compat
Yuval Kogman [Wed, 2 Sep 2009 17:26:29 +0000]
5.005_04 compat

15 years agonamedropping for autodie
Yuval Kogman [Wed, 2 Sep 2009 16:23:07 +0000]
namedropping for autodie

15 years agotrailing semicolon in doc example
Yuval Kogman [Tue, 1 Sep 2009 11:51:36 +0000]
trailing semicolon in doc example

15 years agochangelog
Yuval Kogman [Tue, 1 Sep 2009 04:09:22 +0000]
changelog

15 years agominor doc and code fixes
Yuval Kogman [Tue, 1 Sep 2009 04:08:36 +0000]
minor doc and code fixes

15 years agomisc fixes suggested by Alias
Yuval Kogman [Tue, 1 Sep 2009 03:52:06 +0000]
misc fixes suggested by Alias

15 years agomention Throwable in SEE ALSO
Yuval Kogman [Mon, 31 Aug 2009 20:25:50 +0000]
mention Throwable in SEE ALSO

15 years agoMinor typo fixes in documentation.
chromatic [Mon, 31 Aug 2009 20:14:57 +0000]
Minor typo fixes in documentation.

15 years agobikeshedding Try-Tiny-0.01
Yuval Kogman [Mon, 31 Aug 2009 19:54:32 +0000]
bikeshedding

15 years agoentab
Yuval Kogman [Mon, 31 Aug 2009 19:50:44 +0000]
entab

15 years agorefactor the case of abortive when()
Yuval Kogman [Mon, 31 Aug 2009 19:25:58 +0000]
refactor the case of abortive when()

15 years agoclarify given/when return value caveat
Yuval Kogman [Mon, 31 Aug 2009 19:24:26 +0000]
clarify given/when return value caveat

15 years agovoodoo for ancient perls
Yuval Kogman [Mon, 31 Aug 2009 19:15:34 +0000]
voodoo for ancient perls

15 years agoInitial version
Yuval Kogman [Mon, 31 Aug 2009 18:55:53 +0000]
Initial version