[Phoenix-pm] WWW::Mechanize
Joshua T. Rowe
jrowe at jrowe.org
Fri Feb 4 09:17:38 PST 2011
Howdy all.
When this came up at the meeting, I thought that I remembered being
able to control how many pages Mechanize remembers, but I wasn't sure.
$mech->stack_depth($max_depth) should do it.
As I recall, it seems to work.
http://search.cpan.org/~petdance/WWW-Mechanize-1.66/lib/WWW/Mechanize.pm#$mech-%3Estack_depth%28_$max_depth_%29
--
Joshua T. Rowe
http://www.jrowe.org/
More information about the Phoenix-pm
mailing list