Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: A mystery? (s/split/unpack/)

by LanX (Chancellor)
on Jul 15, 2013 at 22:25 UTC ( #1044464=note: print w/ replies, xml ) Need Help??

in reply to A mystery?

I heard the theme from twilight zone while reading the title.


Cheers Rolf   xD

( addicted to the Perl Programming Language)


I'm no big packerista, but what is split 'C*' supposed to do?

my @matrixX10 = map[ split 'C*', $_ ], unpack '(a10)*', $buffer

did you intend another unpack ?

DB<105> map [ unpack 'C*', $_] ,unpack '(a10)*', '12345678901234567 +890' => ( [49, 50, 51, 52, 53, 54, 55, 56, 57, 48], [49, 50, 51, 52, 53, 54, 55, 56, 57, 48], )

Comment on Re: A mystery? (s/split/unpack/)
Select or Download Code
Replies are listed 'Best First'.
Re^2: A mystery? (s/split/unpack/)
by BrowserUk (Pope) on Jul 15, 2013 at 23:03 UTC
    did you intend another unpack ?

    Yes. (Cliché, but LOL!)

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2015-11-30 06:08 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (758 votes), past polls