Ubuntu Manpages

App::Parcimonie::Role::HasEncoding

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.