ja das ist möglich.
#!/usr/bin/perl -wuse strict;
use URI::URL;
use HTTP::Request;
use HTTP::Headers;
use LWP::UserAgent;
my $ua = 0;
my $ah = 0;
my $resp = 0;
my $req = 0;
my $spre = "../phrack/No.";
my $s = "";
my $spost = ".tar.gz";
my $getpre = "http://www.phrack.org/leecharch.php?p=";
my $getstr = "";
$ua = LWP::UserAgent->new;
if(! $ua)
{
...print "mget.pl: Could not create LWP::UserAgent.\n";
...exit(1);
}
else
{
...$ua->agent('TbHoCne: Greetz from germany.');
...$ua->timeout(20);
...$ua->default_header('Accept' => 'application/gzip');
...for(my $x = 1; $x <= 62; $x++)
...{
......$getstr = $getpre.$x;
......$resp = $ua->get($getstr);
......if($resp->code != 200)
......{
.........print "mget.pl: Could not complete query.\n";
.........exit(1);
......}
......else
......{
.........$s = $spre.$x.$spost;
.........open(F, ">".$s) || die "mget.pl: Could not save data.\n";
.........flock(F, 2);
.........print F $resp->content;
.........flock(F, 8);
.........close(F);
......}
...}
}
exit(0);
In dem Beispiel habe ich mir die Ausgaben 1 bis 62 von phrack.org runtergezogen. Musst das halt an Deine Bedürfnisse anpassen.