This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX: Sometimes `printf` beats interpolation
authorAristotle Pagaltzis <pagaltzis@gmx.de>
Wed, 20 Jun 2012 01:22:16 +0000 (18:22 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 20 Jun 2012 03:01:13 +0000 (20:01 -0700)
ext/POSIX/lib/POSIX.pod

index 259a467..f4de4c7 100644 (file)
@@ -754,7 +754,7 @@ Here is how to query the database for the B<de> (Deutsch or German) locale.
                n_sign_posn
        ))
        {
-               print $property.": \"" . $lconv->{$property} . "\",\n";
+               printf qq(%s: "%s",\n), $property, $lconv->{$property};
        }
 
 =item localtime