Hi
I am working on calling perl program from my c program. I have the perl file
name in argv[1]. I want the output in the buffer. How do i intercept the
output of perl_run function which is going to STDOUT so that it comes to the
buffer instead.

Any help would be greatly appreciated. Please reply me directly as i am not
subscribed to the list yet.

Thanks
Shrini

        my_perl = perl_alloc();
        perl_construct(my_perl);

  perl_parse(my_perl, NULL, argc, argv, (char **)NULL);
        perl_run(my_perl);
        perl_destruct(my_perl);
        perl_free(my_perl);


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to