open my $fh, 'pdftohtml x.pdf |' or die "Can't run pdftohtml: $!";