- or download this
use strict;
use LWP::Simple qw/getstore/;
...
'test.html');
# Or you could store the content in a scalar, with:
# my $content = get('http://www.google.com');
- or download this
use strict;
use HTML::SimpleLinkExtor;
...
# feed each element of @images back to a getstore() for
# each image found
- or download this
$file =~ s/.*[\/\\](.*)/$1/;