develooper Front page | perl.perl5.porters | Postings from March 2006

Make encoding lexical ?

Thread Next
Rafael Garcia-Suarez
March 31, 2006 15:28
Make encoding lexical ?
Message ID:
I haven't tried, but it should be possible now to make the encoding
and encoding::warnings modules lexical by replacing PL_encoding (aka
${^ENCODING}) by an element in %^H (at compilation) and by a lookup in
cop_hints (at run time) (if I'm following the new implementation
correcly.) This would introduce an incompatibility with 5.8, and this
would fork code of those modules, but this would also remove the large
caveats listed in their documentation.

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