Front page | perl.perl5.porters |
Postings from August 2013
Carp stack trace change
Thread Next
From:
Zefram
Date:
August 24, 2013 18:26
Subject:
Carp stack trace change
Message ID:
20130824182612.GD31643@fysh.org
In commit 6ffbec2cd29e785d261db81981f995698c1e187c I've
changed the way in which Carp formats sub arguments in stack
traces. This broke one of the autodie tests (locally patched in
bf9a03c0c567b87e9b14190b953411021afb0ca2), and may well break more modules
on CPAN. If anyone wants to argue that this is too disruptive and Carp
should never change, or that there's a better format that we should
switch to while we're breaking things, now's the time to make your pitch.
The change is mainly to string arguments, using \x{} escapes for any
character that's not ASCII printable, and bringing the format in line with
Perl syntax. Previously the format didn't match Perl syntax, and due to
historical regexp problems there was no escaping for upgraded strings.
The motivation for the present change is to properly handle upgraded
strings. The rest of the change is about getting to a format that I
think we'll never want to change again.
-zefram
Thread Next
-
Carp stack trace change
by Zefram