Rafaël Garcia-Suarez > PerlIO-locale-0.06 > PerlIO::locale

Download:
PerlIO-locale-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.06   Source  

NAME ^

PerlIO::locale - PerlIO layer to use the encoding of the current locale

SYNOPSIS ^

    use PerlIO::locale;
    open my $filehandle, '<:locale', $filename or die $!;

DESCRIPTION ^

This is mostly a per-filehandle version of the open pragma, when used under the form

    use open ':locale';

The encoding for the opened file will be set to the encoding corresponding to the locale currently in effect, if perl can guess it.

AUTHOR ^

Copyright (c) 2004, 2005, 2007, 2008 Rafael Garcia-Suarez <rgarciasuarez@gmail.com>.

LICENSE ^

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

open.