Encode::Alias
Encode::Alias
NAME
Encode::Alias - alias definitions to encodings
SYNOPSIS
use Encode; use Encode::Alias; define_alias( "newName" => ENCODING); define_alias( qr/.../ => ENCODING); define_alias( sub { return ENCODING if ...; } );
DESCRIPTION
Allows newName to be used as an alias for ENCODING. ENCODING may be either the name of an encoding or an encoding object (as described in Encode).
Currently the first argument to define_alias() can be specified in the following ways:
- As a simple string.