This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlguts: sprintf %p now works
authorKarl Williamson <khw@cpan.org>
Sat, 16 Nov 2019 16:09:49 +0000 (09:09 -0700)
committerTony Cook <tony@develop-help.com>
Mon, 18 Nov 2019 20:16:38 +0000 (07:16 +1100)
So recommend it instead of saying don't use it.

pod/perlguts.pod

index d332122..491be59 100644 (file)
@@ -2714,8 +2714,8 @@ compiled with C++, to maintain compliance with its standard.
 Note that there are different "long doubles": Perl will use
 whatever the compiler has.
 
 Note that there are different "long doubles": Perl will use
 whatever the compiler has.
 
-If you are printing addresses of pointers, use UVxf combined
-with PTR2UV(), do not use %lx or %p.
+If you are printing addresses of pointers, use %p or UVxf combined
+with PTR2UV().
 
 =head2 Formatted Printing of SVs
 
 
 =head2 Formatted Printing of SVs