Help for this page
# path to program my $prog = '/local/path/to/cgi-bin/executableprog'; ... print PROG "$file\n"; close(PROG);
my $pid = open PIPE, "-|";
exec PROG or die "Cannot open pipe to executableprog: $!";