http://www.perlmonks.org?node_id=1001422


in reply to Re: Read text from HTML file and display it
in thread Read text from HTML file and display it

use warnings; use strict; my $filename = $ARGV[0]; my $ascii = system("lynx -dump $filename"); print $ascii;

Your $ascii variable will contain the return value, a number, from system which is not what you seem to be expecting. Backticks or qx() will return what normally goes to STDOUT.