http://www.perlmonks.org?node_id=600027


in reply to Re: Bug in perl -C (Unicode) option parsing?
in thread Bug in perl -C (Unicode) option parsing?

It seems ikegami (and my unstated suspicion) were correct. Bleadperl now dies:

perl-5.9.4-build$ ./perl test-CDS.pl Too late for "-CDS" option at test-CDS.pl line 1.

I thought the error looked familiar, so I tried it with "-T", but I see that one is now updated to:

perl-5.9.4-build$ ./perl test-T.pl "-T" is on the #! line, it must also be used on the command line at te +st-CDS.pl line 1.

(With perl5.6.0 and perl5.005_03, I get the familiar:)

old-solaris-machine$ perl5.6.0 test-T.pl Too late for "-T" option at test.pl line 1.

So, it seems it was a bug, but it's been fixed in the 5.9 line.