[Bps-public-commit] r16662 - in Path-Dispatcher/trunk: lib/Path/Dispatcher
sartak at bestpractical.com
sartak at bestpractical.com
Tue Nov 4 17:35:00 EST 2008
Author: sartak
Date: Tue Nov 4 17:35:00 2008
New Revision: 16662
Modified:
Path-Dispatcher/trunk/ (props changed)
Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm
Log:
r74951 at onn: sartak | 2008-11-03 21:59:45 -0500
Include the regex in the (unlikely) error just in case
Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm (original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm Tue Nov 4 17:35:00 2008
@@ -72,7 +72,7 @@
# we need to do the match anyway, because we have to clear the number vars
($str, $re) = ("x", "x") if length($str) == 0;
$str =~ $re
- or die "Unable to match '$str' against a copy of itself!";
+ or die "Unable to match '$str' against a copy of itself ($re)!";
$code->();
}
More information about the Bps-public-commit
mailing list