develooper Front page | perl.perl5.porters | Postings from October 2017

Re: source encoding

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
October 25, 2017 23:46
Subject:
Re: source encoding
Message ID:
20171025234610.32290.qmail@lists-nntp.develooper.com
Zefram wrote:
> It made some sense back then, but keeping such pre-5.6 Unicode-using
> programs running totally unchanged isn't a compelling backcompat case.
> If you want to keep the program running without any semantic change,
> it's easy enough to recode the source in ASCII with \x escapes.

Which makes it unreadable.

> >If this stops working, I might find it annoying enough to stick with
> >an old perl for 'real' work.
> 
> If you did that, would you drop your opposition to new perls making
> "Wide character in print" fatal?

Consider my previous sentence rhetorical.  I would probably write a
source filter to enable the previous behaviour.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About