John M. Dlugosz wrote: > Moritz Lenz moritz-at-casella.verplant.org |Perl 6| wrote: >> John M. Dlugosz wrote: >> >>> I posted my current work at >>> http://www.dlugosz.com/files/specdoc.pdf >>> and .odt. >>> >> >> 3.1.1 Normalization uses a constant without a sigil - is that really >> allowed? >> > Yes, it's in the Synopses. > > >> 3.1.2 BOM - can you detect UTF-32 U+FEFF painlessly? If so, you could >> allow that >> 3.1.3 The =encoding is used only for POD in perl 5. And if you force it >> to be on the first line, you forbid #!/usr/bin/perl lines. What about >> 'use encoding('ISO-8859-1');' instead? Any other thoughts? >> > No problem if it can read that 'use' line in the first place. > > Does a BOM also interfere with #!/usr/bin/perl ?
Sadly, yes. I used vim with :set nobinary fileencoding=utf-8 bomb :w ./foo.pl bash: ./foo.pl: cannot execute binary file moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/
signature.asc
Description: OpenPGP digital signature