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

    Yes, thk, in fact i'm use debug true and the regexp is correct, but, i'm read the run package and don't understand very well, becouse unfortunately it is not commented and too much OO

    Becouse of that, i'm post here, with the hope that another monks finds had a similar problem

    Thank you