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

Re^4: Convert ASCII string to 7-bit binary string

by ikegami (Patriarch)
on Oct 28, 2015 at 21:22 UTC ( [id://1146331]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Convert ASCII string to 7-bit binary string
in thread Convert ASCII string to 7-bit binary string

Seems like a weird way of writing the following to me:
$out = map { substr unpack('B8', $1), 1 } $string =~ /./g;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-04-23 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found