Decode-Source

 view release on metacpan or  search on metacpan

Source.pm  view on Meta::CPAN

Perl 5.8 or higher is required for use of this module.

=head1 DESCRIPTION

B<This code is so far only tested on Win32 platforms!>

Decode::Source makes it possible to write perl programs in any script or
encoding supported by the C<Encode> module. Variable names can contain
non-ASCII characters, just as when you use the C<use utf8> pragma. All
theese characters, both in identifiers and string literals, will be
decoded to perl's internal utf-8 form, before execution.

The syntax are similar to C<use utf8> and C<no utf8>, but Decode::Source
also takes an optional argument with source encoding. This argument can be 
any argument that C<Encode>'s C<decode> function accept as a valid
encoding. See also L<Encode>.

=head1 EXAMPLE

  use Decode::Source "windows-1252";
  



( run in 0.377 second using v1.01-cache-2.11-cpan-d6f9594c0a5 )