in reply to feeding info to C programs....
but instead of sendmail it would be your C programopen (MAIL, "| /usr/sbin/sendmail -t") || die "no mail for you!";
then pipe all the filenames to the filehandle you created?open (CPROG, "| /path/to/your/program") || die;
|
|---|