develooper Front page | perl.perl5.porters | Postings from December 2003

[PATCH] "piconv -C 512" badly broken

Thread Next
From:
Autrijus Tang
Date:
December 31, 2003 03:42
Subject:
[PATCH] "piconv -C 512" badly broken
Message ID:
1072870210.769.5.camel@localhost
I distinctly remember the patch below has been applied, but it somehow
regressed in Encode 1.99.

Before this patch,
	piconv -f utf8 -C 512
fails with:
	Can't open 512: No such file or directory at piconv line 57.

The reason was it confused -C with -c.

Thanks,
/Autrijus/

--- piconv.orig	Wed Dec 31 19:25:38 2003
+++ piconv	Wed Dec 31 19:26:13 2003
@@ -10,7 +10,7 @@
 use File::Basename;
 my $name = basename($0);
 
-use Getopt::Long;
+use Getopt::Long qw(:config no_ignore_case);
 
 my %Opt;
 


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About