Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Command Shell

by tdlewis77 (Sexton)
on Aug 23, 2017 at 06:36 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1197849]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found