No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I don't use the debugger (except in exercises like this) so it's more trial and error than knowledge for me. Anyway, I found the issue actually revolves around whether p or print is used. $ perl -C -de1 ... DB<1> print "\x{263A}" ☺ DB<2> p "\x{263A}" Wide character ... ... ☺ My guesswork here was based on a long-standing alias of mine:
For example: $ perlu 'say for $], "\x{263A}", "\x{ 263A }"' 5.036000 ☺ ☺ Update (checking for false positives): $ perl -de1 ... DB<1> print "\x{263A}" Wide character ... ... ☺
$ perle 'say for $], "\x{263A}", "\x{ 263A }"' 5.036000 Wide character in say at -e line 1. ☺ Wide character in say at -e line 1. ☺ — Ken In reply to Re^5: Problem with escape sequence \x for hex with spaces "\x{ 263A }" (update: codepage)
by kcott
|
|