When open fails, get it to tell you why:
open(my $fh, '<', $html) or die "cannot open file $html: $!";
Trying to parse HTML like this is more often than not a waste of time.
In reply to Re^5: Match text from txt to html
by marto
in thread Match text from txt to html
by corfuitl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |