in reply to Re: Re: Re: Re: Re: Re: Re: Re: Re: Passing function to a function using \&<function name> method
in thread Passing function to a function using \&<function name> method

Hi Edan,

Thanks very much for your example code, I shall integrate it into my script and do some testing with it.

Thanks again,

Richard Thomas.
  • Comment on Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Passing function to a function using \&<function name> method

Replies are listed 'Best First'.
Re: Passing function to a function using \&<function name> method
by rich_d_thomas (Sexton) on Apr 03, 2004 at 13:02 UTC
    Hi Edan,

    Thanks for the example code, I have done the integration and tested it and even deployed it and it all works fine on Linux.

    I am now trying to use it on Windows and I get the following error:
    '-' is not recognized as an internal or external command, operable pro +gram or batch file.
    I have been debugging the script and found it to come from the following line:
    defined(my $child_pid=open(CHILD_OUTPUT, "-|")) or die "fork: $!";
    Is there a way to make this work on Windows, or will this have to be a Unix only facility?

    Thanks,

    Richard Thomas.