[Vienna-pm] perl 5.10.0 -C
Robert Barta
rho at devc.at
Wed Jul 16 04:08:32 PDT 2008
On Wed, Jul 16, 2008 at 12:46:05PM +0200, Peter J. Holzer wrote:
> #!/usr/bin/perl -CO
> print "\x{20AC}\n";
>
> Das funktioniert auf perl 5.8.x wie gewünscht (gibt ein UTF-8-kodiertes
> €-Zeichen aus). Mit Perl 5.10.0 bekommt man die Fehlermeldung:
>
> Too late for "-CO" option at ./foo line 1.
Dunkel hab ich in Erinnerung, dass bestimmte Switches nicht
im #! funktionieren. Bei -T kam's einmal vor.
Vielleicht ist es, dass das file schon konsumiert wurde und ins Perl
hineinge-pipe-t wird, also dort das Encoding nicht beruecksichtigt
werden kann?
Bei perl -CO kann das Perl noch behandlen.
Just guessing.
\rho
More information about the Vienna-pm
mailing list