Don't do that! Unless you enjoy poking yourself in the eye with a sharp stick and other such delightful activities, don't parse HTML using regexen. instead use HTML::TreeBuilder or one of the other HTML related modules - there are many.
I'd also strongly recommend that you always use strictures (use strict; use warnings;). my missing from the start of your sample lines indicates that either you don't, or that you are declaring your variables in too large a scope. It's that sharp stick thing again. ;)
In reply to Re: Trying to parse html file
by GrandFather
in thread Trying to parse html file
by annunaki10
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |