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

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

by LanX (Bishop)
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], )

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2018-04-20 13:46 GMT
Find Nodes?
    Voting Booth?