Think about Loose Coupling | |
PerlMonks |
Re: Simplest Possible Way To Disable Unicodeby BrowserUk (Patriarch) |
on May 24, 2011 at 03:40 UTC ( [id://906408]=note: print w/replies, xml ) | Need Help?? |
I agree. I also want use bytes; to disable those dumb warnings when I use chr and pack 'C*' on numbers greater than 255. If I do pack 'C*', 257;, I am explicitly stating that I am packing 8-bit byte date, not f****** "wide characters", and if the numeric value is greater than 8-bits, it should be silently truncated. If I want to pack wide characters, I can use the U template. I don't need or want those two data types conflated. More to the point, I think unicode should be explicitly enabled by those that need it, not have to be disabled by those that don't. IF it were possible for unicode to be used transparently, then it might make some sense to enable it by default, but since it cannot, it doesn't. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|