This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Create a sub LC_ALL with the correct prototype.
authorNicholas Clark <nick@ccl4.org>
Fri, 23 Dec 2005 00:18:49 +0000 (00:18 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 23 Dec 2005 00:18:49 +0000 (00:18 +0000)
p4raw-id: //depot/perl@26460

lib/locale.t

index 5d17797..b4ba02d 100644 (file)
@@ -52,7 +52,7 @@ my $last = $have_setlocale ? &last : &last_without_setlocale;
 
 print "1..$last\n";
 
-use vars qw(&LC_ALL);
+sub LC_ALL ();
 
 $a = 'abc %';