[lug] Perl question

Chip Atkinson catkinson at circadence.com
Tue Jun 26 13:22:46 MDT 2001


Thanks.  I read about that in one of the perl books, but decided it 
would be "better" if I did it without including modules.  Partly because 
I get to do some perl programming.  Actually that's a big part of it. :-)

Tkil wrote:

>>>>>> "Chip" == Chip Atkinson <catkinson at circadence.com> writes:
>>>>> 
> 
> Chip> Thanks for the help.  Splitting the file into tag and non-tag
> Chip> chunks is a really cool idea.  I'll take a crack at doing it
> Chip> without peeking too much and then use the example below to
> Chip> correct my mistakes.  Thanks again.  This idea is exactly what I
> Chip> need.
> 
> note that a more bullet-proof way (with the added advantage of not
> needing the whole document in core at once) is to use the HTML::Parser
> module, a part of libwww-perl (LWP).
> 
> it's gotten a little more complex, since it was rewritten in C with XS
> bindings.  for the older style, take a look at "perldoc HTML::Filter"
> if you have it installed.
> 
> a similar idea (although i didn't know about HTML::Filter at the time,
> so i created my own "pass it along" routines):
> 
>    http://slinky.scrye.com/~tkil/perl/fully-qualify
> 
> t.
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug




More information about the LUG mailing list