NAME
PerlIO::text - Open a text file portably
VERSION
version 0.003
SYNOPSIS
open my $fh, '<:text(UTF-16LE)', $filename;
DESCRIPTION
This module provides a textual pseudo-layer. Instead of pushing itself, it pushes the right layers for that platform to open text files in the specified encoding.
SYNTAX
This modules does not have to be loaded explicitly, it will be loaded automatically by using it in an open mode. The module has the following general syntax: <:text(charset)
>. charset
is mandatory and without it this module will give an error. Any character set known to Encode may be given as an argument.
AUTHOR
Leon Timmermans <leont@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.