in reply to Passing a structure from C to Perl
Consider writing all the data to a file and then reading it from that file with Perl. That way you would only pass around the name of the file with the structure in it.
Common structures are JSON files, or .ini files (or other configuration files), but depending on your actual structures, maybe XML is easier to read and write for all programs involved..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing a structure from C to Perl
by bliako (Abbot) on Mar 23, 2018 at 01:27 UTC | |
by drpraveena (Initiate) on Mar 23, 2018 at 05:05 UTC | |
by bliako (Abbot) on Mar 23, 2018 at 12:59 UTC | |
by bliako (Abbot) on Mar 25, 2018 at 07:45 UTC | |
|
Re^2: Passing a structure from C to Perl
by Anonymous Monk on Mar 22, 2018 at 12:13 UTC | |
by Your Mother (Archbishop) on Mar 22, 2018 at 15:04 UTC |