App::Parcimonie::Role::HasEncoding
role to provide an Encode::Encoding objet for the codeset being used
- Provided by: parcimonie (Version: 0.11.0-1)
- Report a bug
role to provide an Encode::Encoding objet for the codeset being used
use Moo;
with 'App::Parcimonie::Role::HasEncoding';
sub foo { $self->encoding->decode("bla") }
See App::Parcimonie::Daemon for a real-life usage example.