in reply to Parsing and searching HTML code
Your strings should also be "quoted" by \Q...\E in case they contain any special characters: $html =~ m/(\Q$search_start\E.+\Q$search_end\E)/si;
I suggest using HTML::TreeBuilder and look_down method of HTML::Element.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing and searching HTML code
by Kenosis (Priest) on Jul 26, 2012 at 17:35 UTC | |
|
Re^2: Parsing and searching HTML code
by jayto (Acolyte) on Jul 26, 2012 at 17:47 UTC | |
by Kenosis (Priest) on Jul 26, 2012 at 18:02 UTC |