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.
In reply to Re^2: Read text from HTML file and display it
by Lotus1
in thread Read text from HTML file and display it
by ced4dad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |