Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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 taking refuge in the Monastery: (2)
As of 2016-02-07 12:03 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (251 votes), past polls