Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of rafael (2125)

Thursday May 13, 2004
09:53 AM


[ #18735 ]
I have a new module, PerlIO::locale, on CPAN. It's a trivial piece of DWIM -- a subclass of PerlIO::encoding that guesses the encoding from the current locale. However, there are a couple of interesting points:
  • It's statically linked with, to correctly get pointers on the internal PerlIO functions defined by it. Better ideas welcome.
  • It has no tests. (Well, it has one test: use_ok.) It's typically difficult to write portable tests for this kind of modules, without knowing which locales are available on the tester's machine, then switching locales appropriately, etc. I'll have to figure out a way to do it without being too tired.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.