projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
[perl #57016] debugger: o warn=0 die=0 ignored
[p5sagit/p5-mst-13.2.git]
/
pod
/
perluniintro.pod
diff --git
a/pod/perluniintro.pod
b/pod/perluniintro.pod
index
ee61acf
..
86360d4
100644
(file)
--- a/
pod/perluniintro.pod
+++ b/
pod/perluniintro.pod
@@
-653,8
+653,8
@@
Use the C<Encode> package to try converting it.
For example,
use Encode 'decode_utf8';
- eval { decode_utf8($string, Encode::FB_CROAK) };
- if ($@) {
+
+ if (eval { decode_utf8($string, Encode::FB_CROAK); 1 }) {
# $string is valid utf8
} else {
# $string is not valid utf8