03 Jul 2016 17:55:42 UTC
- Distribution: Filter-Encoding
- Module version: 0.01
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (720 / 0 / 0)
- KwaliteeBus factor: 0
- 80.00% Coverage
- License: unknown
- Activity24 month
- Download (2.95KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionSPROUT Father Chrysostomosand 1 contributors
- Father Chrysostomos <sprout & cpan . org>
- AUTHOR & COPYRIGHT
- SEE ALSO
Filter::Encoding - Write your script in any encoding
use Filter::Encoding 'MacRoman'; # Code that follows can be written in MacRoman encoding.
This module allows your code to be written in any ASCII-based encoding. Just pass the name of the encoding as an argument to
use Filter::Encoding. The source code will be decoded and treated as though it had been written in UTF-8 with
use utf8in effect. That's all this module does.
It is intended as a simpler, saner replacement for encoding.pm, one that does not change the up- and downgrading of strings or touch your file handles.
- Too many arguments to Filter::Encoding->import()
use Filter::Encoding(which implies
->import) only allows one argument.
- Filter::Encoding: Unknown encoding '%s'
The encoding must be one recognized by the
perl 5.8.0 or later
Copyright (C) 2016 Father Chrysostomos <sprout [at] cpan [dot] org>
This program is free software; you may redistribute it, modify it, or both under the same terms as perl.
Much of the code was based on the filter feature of encoding.pm.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 71:
'=item' outside of any '=over'
- Around line 80:
You forgot a '=back' before '=head1'
Module Install Instructions
To install Filter::Encoding, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Filter::Encoding
For more information on module installation, please visit the detailed CPAN module installation guide.