i.e.:
I admit, I have no idea how fast or slow the WWW::Mechanize constructor is.#!/usr/bin/perl use WWW::Mechanize; use Devel::Size qw(size total_size); while (1) { my $agent = WWW::Mechanize->new(); $agent->get(qq(http://www.yahoo.com)); print "agent size = ".total_size($agent)."\n"; }
In reply to Re: WWW::Mechanize memory leak???
by RMGir
in thread WWW::Mechanize memory leak???
by cwchang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |