Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Pointer to a structure in Perl

by DrHyde (Prior)
on Apr 02, 2013 at 10:21 UTC ( #1026648=note: print w/ replies, xml ) Need Help??


in reply to Pointer to a structure in Perl

Other people have wibbled about references, but in case you're trying to deal with data in some machine-specific C-generated format, or to generate data to pass to such (believe it or not there are some crazy programs that expect you to drive them by dropping a C struct in a file, or even pass them a struct on STDIN), then you might want Convert::Binary::C.

I've not used it myself, but trying it out is on my to-do list for solving one of those thorny problems.


Comment on Re: Pointer to a structure in Perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2014-09-18 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (118 votes), past polls