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

Re: [perl #119499] $! returned with UTF-8 flag under UTF-8 localesonly under 5.19.2+

Thread Previous | Thread Next
From:
Victor Efimov
Date:
September 1, 2013 16:48
Subject:
Re: [perl #119499] $! returned with UTF-8 flag under UTF-8 localesonly under 5.19.2+
Message ID:
CAF7QZD6yDq9i1M4gHtD5OjTVkumAxweT5BN5ot5pKi2NXfVe=w@mail.gmail.com
2013/9/1 Leon Timmermans <fawaka@gmail.com>

>
> $! is inherently a piece of text, not piece of binary data. As such, it
> makes perfect sense to treat it as such an automatically decode it. The
> same is not necessarily true for your other examples.
>
>
btw, interesting that $^E is not affected by this change, i.e when $! is
same as $^E (I tested on linux only), $^E does not have utf-8 flag, while
$! has.

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