in reply to Re^2: open a pipe from system..
in thread open a pipe from system..

thanks a lot!

This works perfectly:

open my $fh, "pdftohtml -noframes -stdout $pdf |" or die "Can't run +pdftohtml: $!"; while (<$fh>) { &func($_); } close($fh);
option -stdout is needed (in case s.o.else is searching) to catch the output.

have a nice Subday
Carl