Class::Param::Encoding - Class Param Encoding Class
$param = Class::Param->new( smiley => "\xE2\x98\xBA" ); $param = Class::Param::Encoding->new( $param ); if ( $param->get('smiley') eq "\x{263A}" ) { # true }
A decorator that decodes param values on the fly.
Constructor. Takes two arguments, first should be a instance of Class::Param::Base and second should be valid Encode encoding name, defaults to UTF-8.
UTF-8
Class::Param.
Christian Hansen chansen@cpan.org
chansen@cpan.org
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Class::Param, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::Param
CPAN shell
perl -MCPAN -e shell install Class::Param
For more information on module installation, please visit the detailed CPAN module installation guide.