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

[PATCH] "piconv -C 512" badly broken

Thread Next
Autrijus Tang
December 31, 2003 03:42
[PATCH] "piconv -C 512" badly broken
Message ID:
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.


--- 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About