in reply to How template::extract works?
You will need to look at the code.
The documentation says You may set $Template::Extract::DEBUG to a true value to display generated regular expressions., so maybe that helps you, but otherwise I guess you will have to look at the Template::Extract::Run code why it seems to parse a list item only once.
I like using XPath expressions or CSS selectors to extract data, currently by using Web::Scraper, but that module is still in its infancy so you might want to stay with Template::Extract. Also, due to that nature, Web::Scraper cannot conveniently split up a single chunk of text into several parts.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How template::extract works?
by Anonymous Monk on Sep 17, 2007 at 14:07 UTC |