Fix thinko in t/pragma/locale.t:
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 4 Jan 1998 23:48:44 +0000 (01:48 +0200)
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Thu, 8 Jan 1998 16:06:22 +0000 (16:06 +0000)
Subject: [PATCH] _04 or _56: locale.t

p4raw-id: //depot/perl@410

t/pragma/locale.t

index 8e296db8a7c927a29e84e21b2d241dc9a37aa11e..d068465fb34a62e7dbeb8e71caa2dc19a623d823 100755 (executable)
@@ -283,13 +283,13 @@ locatelocale(\$Spanish, \@Spanish,
 # Select the largest of the alpha(num)bets.
 
 ($Locale, @Locale) = ($English, @English)
-    if (length(@English) > length(@Locale));
+    if (@English > @Locale);
 ($Locale, @Locale) = ($German, @German)
-    if (length(@German)  > length(@Locale));
+    if (@German  > @Locale);
 ($Locale, @Locale) = ($French, @French)
-    if (length(@French)  > length(@Locale));
+    if (@French  > @Locale);
 ($Locale, @Locale) = ($Spanish, @Spanish)
-    if (length(@Spanish) > length(@Locale));
+    if (@Spanish > @Locale);
 
 print "# Locale = $Locale\n";
 print "# Alnum_ = @Locale\n";