Path to this page:
Subject: CVS commit: pkgsrc/devel/p5-Path-Dispatcher
From: Hiramatsu Yoshifumi
Date: 2011-12-02 06:19:07
Message id: 20111202051907.B2691175DD@cvs.netbsd.org
Log Message:
Update p5-Path-Dispatcher to 1.04.
Changes from previous:
1.04 Thu Sep 1 2011
Explicitly depend on Test::Fatal (reported by Jérôme Quelin \
[rt.cpan.org #70666])
Convert all tests from Test::Exception to Test::Fatal
1.03 Tue Aug 30 2011
Provisional support for arbitrary payloads, not just code blocks, as results
See https://github.com/sartak/path-dispatcher/blob/master/t/200-payload.t
Eventually blocks will be deprecated, but not for a while. Internally \
blocks are
rewritten as payloads so if you're doing deep magic with PD you may be \
exposed to
that implementation detail.
1.02 Tue Nov 2 2010
Various improvements to the handling of $match->leftover with undef
1.01 Sun Oct 24 2010
Skip t/026-named-captures.t if you don't have 5.10.1
Give matches a ->parent for inspecting an Under prefix rule's
captures etc
1.00 Sun Oct 17 2010
Bump to 1.0 to indicate back compat breakage
Add match->named($key) for pulling out a named capture
Use Try::Tiny to avoid swallowing exceptions (rafl)
0.16 Sun Oct 17 2010
** BACKWARDS INCOMPATIBLE CHANGE: Pass the match object into rule
** blocks rather than assigning $1, $2, $3. Use ->pos(1), (2), (3),
** etc. instead. This cleans up the code a lot and makes
** Path-Dispatcher more flexible.
Add support for named captures
Make all attributes read-only. If you need something to be read-write,
I am open to such a change. Just let me know!
Make _dispatcher_rule private
Remove trace/readable_attribute/name support. This wants to be
implemented in a different, better, more comprehensive way.
Add documentation for shell tab completion
Plenty other updated documentation
Files: