Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: A little win (pack)

by tye (Cardinal)
on Oct 19, 2011 at 05:59 UTC ( #932297=note: print w/ replies, xml ) Need Help??


in reply to A little win

join "", map chr is like rolling your own version of pack "C*" (Unicode variations left as an exercise for the reader).

- tye        


Comment on Re: A little win (pack)
Re^2: A little win (pack)
by anneli (Pilgrim) on Oct 19, 2011 at 06:23 UTC

    Thank you! That condenses it a bit; I need to pay more attention to pack and unpack, I probably end up re-inventing them more often than I care to admit.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2015-07-04 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls