warum gibt es hier keine ausgabe?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use strict;
use warnings;
use LWP::Simple;
use HTML::Parser;
my $file = "site1.txt";
my $url = 'http://user:pwd@my-home-page.de';
my $content = getstore($url,$file);
my @infos;
my $p = HTML::Parser->new();
$p->handler(start => \&start_handler,"tagname,attr,self");
$p->parse_file('$file');
sub start_handler{
return if(shift ne 'td');
my ($client) = shift->{CLIENTS}=~ /\s+(.+)/;
print "$client\n";
}
ich dachte er sollte hiemit alles anzeigen was nach CLIENTS kommt?