Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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

by LanX (Canon)
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 romping around the Monastery: (6)
As of 2015-07-30 07:08 GMT
Find Nodes?
    Voting Booth?

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

    Results (270 votes), past polls