Hello David!
> You wouldn't need to do any C code. This already exists. In your GUI
> programs are you using the piping part of the Import module to run
> your perl script? If so, then just save your program and run the
> network with "dx -script".
OK, that's on thing I was not aware of. Using the external filter option
in the import module saves me from running the Perl script by myself,
but that's not what I really wanted.
Can I tell the import module to expect data from stdin, so I would be
able to output to stdout on the other end?
What I want to do ist something like this:
FILE *pipe;
pipe=popen( "dx -script", "w" );
if ( pipe ) {
fprintf(pipe, "object 1 class array type float rank 1 shape 3 items %i
data follows\n", nr_nodes);
fprintf(pipe, ....
and so on.
Up to now, I have found no way to do it that way.
Patrick