Decode-Source

 view release on metacpan or  search on metacpan

Source.pm  view on Meta::CPAN

53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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.584 second using v1.01-cache-2.11-cpan-d6f9594c0a5 )