Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: unpack Group Repeat-Count Behavior: Scalar versus List Context

by chuckbutler (Priest)
on Mar 02, 2010 at 01:49 UTC ( #826047=note: print w/ replies, xml ) Need Help??


in reply to unpack Group Repeat-Count Behavior: Scalar versus List Context

On Win32 5.10.1 (ActiveState 1006), I can reproduce the same result.

As a work-around, using the fact that we wish to print the fourth value, skipping 12 bytes:

. . . my $unk = '(x12) N'; . . .
This produces:
n1 44 n2 44
Good luck. -c


Comment on Re: unpack Group Repeat-Count Behavior: Scalar versus List Context
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2014-09-21 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (165 votes), past polls