in reply to Re^3: downloading images from a webpage
in thread downloading images from a webpage

Hi. Sorry for the delay.

You do call images() in list context. What you're going to want to do is combine this with getstore to save your images:

my @list = $m->images(); for my $img (@list) { my $url = $img->url_abs(); my $filename = ...; (fill this in, probably based on $url) getstore($url,$filename) or die "Can't download '$url': $@\n"; }