Yes, I think using a counter is a good way to enforce max-retry policy.
The example crawler included in the Q4M distribution
(http://kazuho.31tools.com/svn/q4m/tags/0.8.3/examples/crawler/crawler.pl)
does that as well (by using a constant named $max_retries).
2008/10/10 Alberto <albsu...@gmail.com>:
--
Kazuho Oku