Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Command Shell

by tdlewis77 (Sexton)
on Aug 23, 2017 at 06:36 UTC ( #1197849=note: print w/replies, xml ) Need Help??


in reply to Command Shell

Apparently I didn't have a good enough test case as the following still gets a "Wide character in print" error:

print safeString("\x{26C4}\n");

First bug to fix in 3.1. :-)

Replies are listed 'Best First'.
Re^2: Command Shell
by tdlewis77 (Sexton) on Aug 23, 2017 at 14:15 UTC

    This is a fun test case:

    map { $s = sprintf('\x{26%02x}',$_); print "$s: ",safeString(eval("\"$s\"")),"\n" } 0..255

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1197849]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-10-22 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (273 votes). Check out past polls.

    Notices?