Is -C useless?

Paul LeoNerd Evans leonerd at leonerd.org.uk
Thu Sep 11 13:52:31 BST 2008


On Thu, 11 Sep 2008 13:24:34 +0100
Paul Orrock <paulo at digitalcraftsmen.net> wrote:

> $ chmod 755 test.pl
> $ ./test.pl
> 
> Which gives me the output you want : Hello wérld
> 
> Unless I've missed something, which is highly likely

  $ ll test.pl 
  -rwxr-xr-x 1 leo leo 48 2008-09-11 13:51 test.pl

  $ cat test.pl 
  #!/usr/bin/perl -COL

  print "Hello w\xe9rld\n";

  $ ./test.pl 
  Too late for "-COL" option at ./test.pl line 1.

By the way, this is perl 5.10. I think it used to work on 5.8.8.

Perl version?

-- 
Paul "LeoNerd" Evans

leonerd at leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://london.pm.org/pipermail/london.pm/attachments/20080911/4a2a3475/signature.pgp


More information about the london.pm mailing list