in reply to
Re^2: reading C data structure
in thread reading C data structure
That really doesn't get us much further ahead. Do you want write code to call Perl from C (possible), or write code to call C from Perl (also possible), or call an existing C library function from Perl (possible too), or execute an existing Perl script from a C application passing a value through (possible) or execute an existing C application from a Perl script returning a value to the script (also possible), or something else?
Maybe you should let us in on the secret of what you actually want to do?
True laziness is hard work