On Sat, 14 May 2005, Ing. Branislav Gerzo wrote:

> Randal L. Schwartz [RLS], on ,  , 2005 at 13:21 (-0700) has on mind:
>
> RLS> <!-- in comment -- --> in comment <-- -- in comment -->
>
> could you write a snippet of code, without using any module to parse
> this example ? (get comment from html)

Randal's point is that HTML has way too many crazy edge cases for it to
be worth parsing by hand, without using a module.

If you really want to see how to do this, look through the source of
modules like HTML::Parse or HTML::TreeBuilder.

But if you wnat to save valuable hours of your life, ignore it, be glad
that someone else did this for you, and just use the module approach.


-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to