encoding::source - allows you to write your script in non-ascii or non-utf8


encoding-source documentation  | view source Contained in the encoding-source distribution.

Index


NAME

Top

encoding::source - allows you to write your script in non-ascii or non-utf8

SYNOPSIS

Top

    use encoding::source 'utf8';
    no encoding::source; # back to latin-1

    {
      use encoding::source 'utf8';
      # ...
    }
    # back to latin-1

DESCRIPTION

Top

This pragma allows to change the default encoding for string literals in the current lexical compilation unit (block or file).

This is like the encoding pragma, but done right:

SEE ALSO

Top

Encode, encoding

COPYRIGHT

Top


encoding-source documentation  | view source Contained in the encoding-source distribution.