develooper Front page | perl.perl5.porters | Postings from August 2013

Carp stack trace change

Thread Next
August 24, 2013 18:26
Carp stack trace change
Message ID:
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.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About