This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rewrite paragraph on using strict and warnings
[perl5.git]
/
pod
/
perlclib.pod
diff --git
a/pod/perlclib.pod
b/pod/perlclib.pod
index
1e6cf77
..
176f854
100644
(file)
--- a/
pod/perlclib.pod
+++ b/
pod/perlclib.pod
@@
-211,7
+211,8
@@
C<toUPPER_uni>, as described in L<perlapi/Character case changing>.)
Typical use is to do range checks on C<uv> before casting:
- int i; UV uv; char* end_ptr;
+ int i; UV uv;
+ char* end_ptr = input_end;
if (grok_atoUV(input, &uv, &end_ptr)
&& uv <= INT_MAX)
i = (int)uv;