Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: C strings, unescaping of

by daxim (Chaplain)
on Sep 30, 2013 at 14:05 UTC ( #1056363=note: print w/replies, xml ) Need Help??

in reply to C strings, unescaping of

Use Encode::Escape::ASCII. Under the hood it does the same, but your maintenance programmer gets a readable API and documentation.

Replies are listed 'Best First'.
Re^2: C strings, unescaping of
by Anonymous Monk on Sep 30, 2013 at 15:46 UTC
    That package does not implement C-style escapes. The \v is missing. Furthermore, it looks rather suspect. Observe:
    $ echo -n 'v\v\134aa' | perl -e 'use Encode::Escape::ASCII; print deco +de "ascii-escape", $_ for <>;' | hexdump -C 00000000 76 76 07 61 |vv.a| 00000004

    This does not look right to me at all!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056363]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2016-10-24 22:17 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (310 votes). Check out past polls.