M
mat.krawczyk
Hello,
I would like to write simple script for emails decoding. My problem is connected with input and output of an external program. I would like to use html2text converter:
open(HTML2TEXT, "| /usr/bin/html2text ") || die "html2text failed: $!\n";
$text = print HTML2TEXT $html;
close HTML2TEXT;
print $text;
but $text is empty and output is directed to STDOUT.
I will be grateful for any help..
Mateusz Krawczyk
I would like to write simple script for emails decoding. My problem is connected with input and output of an external program. I would like to use html2text converter:
open(HTML2TEXT, "| /usr/bin/html2text ") || die "html2text failed: $!\n";
$text = print HTML2TEXT $html;
close HTML2TEXT;
print $text;
but $text is empty and output is directed to STDOUT.
I will be grateful for any help..
Mateusz Krawczyk