I’ve occasionally had problems with strings being subtly different, in some cases utf8::all changed the behavior, so I assume the subtle differences are unicode. I’d like to dump strings in such a way that the differences will be visual to me. What are my options for doing this?
I’ve occasionally had problems with strings being subtly different, in some cases utf8::all changed
Share
I recommend the
Dumpfunction in theDevel::Peekmodule in the Perl core:(You see how
FLAGScontainsUTF8in the second example, because of the wide character, but not in the first?)