This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #123814] replace grok_atou with grok_atoUV
[perl5.git] / pod / perlhacktips.pod
index 943bdfb..7b34516 100644 (file)
@@ -641,7 +641,7 @@ L<https://sourceware.org/bugzilla/show_bug.cgi?id=6530>.
 
 Do not use atoi()
 
-Use grok_atou() instead.  atoi() has ill-defined behavior on overflows,
+Use grok_atoUV() instead.  atoi() has ill-defined behavior on overflows,
 and cannot be used for incremental parsing.  It is also affected by locale,
 which is bad.
 
@@ -649,7 +649,7 @@ which is bad.
 
 Do not use strtol() or strtoul()
 
-Use grok_atou() instead.  strtol() or strtoul() (or their IV/UV-friendly
+Use grok_atoUV() instead.  strtol() or strtoul() (or their IV/UV-friendly
 macro disguises, Strtol() and Strtoul(), or Atol() and Atoul() are
 affected by locale, which is bad.