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

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.


Comment on Re: C strings, unescaping of
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2014-12-29 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls