Maybe, but this code already copies the entire page about 4 times in memory ($mech, $html, $te, $te->rows), so any large page is going to take a big hunk of RAM regardless.
Comment on Re^3: Memory Hog Code - Where's the Pileup?
perrin,
Sorry - miscommunication. My intention wasn't to say that this specific problem would be addressed. I was just taking the opportunity to make a general comment about the improvement of WWW::Mechanize.