Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: Read structure in Perl

by Corion (Pope)
on Mar 22, 2010 at 11:55 UTC ( #830075=note: print w/ replies, xml ) Need Help??

in reply to Re: Read structure in Perl
in thread Read structure in Perl

As a hard-core alternative to unpack, there is Convert::Binary::C, which can take a C structure and a C compiler (even one for a different architecture), and unpack data in that C structure from Perl.

Comment on Re^2: Read structure in Perl
Replies are listed 'Best First'.
Re^3: Read structure in Perl
by spazm (Monk) on Mar 22, 2010 at 15:09 UTC
    Thanks for the tip!

    Looks like less work in the long run. Hardcore indeed!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-10-06 21:36 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (161 votes), past polls