Well instead of trolling why not supply a working example to help ?? Its always the Anonymous Monk lacking courage to put a name to a comment
How is it trolling to point out the shortcomings of a "solution"? Maybe you should look up the definition of troll
What courage is required to point out a simple fact about HTML::Parser? Are you under the impression that HTML::Parser is a high level parser?
Your "solution" doesn't fetch the portion of page from class = lastUnit to class = line margin10 -- its incomplete -- it is lots easier/shorter/simpler to use m{\Q$start\E(.+?)\Q$end\E}i instead of that HTML::Parser low-levelness
Have you seen Re: How to grab a portion of file with regex (don't)? Its not unlike a minimum of three different tutorials/walkthroughs/step-by-step-instructions on extracting/xpathing the dom , some even compare/contrast with HTML::Parser
In reply to Re^4: How to grab a portion of file with regex
by Anonymous Monk
in thread How to grab a portion of file with regex
by romy_mathew
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |