O
Oldbitcollector
*Sorry if this is offtopic*
I'm using Simple::LWP to fetch an HTML page into @page.
I'm trying to find a way to save only infromation found between
<!-- and --> while discarding everything else.
In other words, I only want the comments from a the HTML documents
I'm retrieving. (strange huh?) The comments will be multi-lined in
most cases
so I also want the CR's.
I've got some nice code for stripping HTML tags
( $line =~ s/<.*?>//g; ) but can someone help me find a way to do this?
Thanks
Oldbitcollector
I'm using Simple::LWP to fetch an HTML page into @page.
I'm trying to find a way to save only infromation found between
<!-- and --> while discarding everything else.
In other words, I only want the comments from a the HTML documents
I'm retrieving. (strange huh?) The comments will be multi-lined in
most cases
so I also want the CR's.
I've got some nice code for stripping HTML tags
( $line =~ s/<.*?>//g; ) but can someone help me find a way to do this?
Thanks
Oldbitcollector