in reply to
Re: Read text from HTML file and display it
in thread Read text from HTML file and display it
my $filename = $ARGV;
my $ascii = system("lynx -dump $filename");
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.