Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Problems? Is your data what you think it is?
 
PerlMonks  

Re: reading C data structure

by GrandFather (Cardinal)
on Sep 17, 2012 at 22:39 UTC ( #994139=note: print w/ replies, xml ) Need Help??


in reply to reading C data structure

You don't. Or, at least, your question is open to so many different interpretations it's not possible to know what you actually want to do.

Things you may want to do are:

  1. Read binary data from a file written by a C application
  2. Pass data from XS back to Perl
  3. Recreate in Perl a data structure serialised by a C application
  4. Recreate in Perl a C data structure specified in a .h file
  5. any number of other possible scenarios I haven't thought of
True laziness is hard work


Comment on Re: reading C data structure

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-04-19 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (480 votes), past polls