Leser: 4
|< 1 2 3 4 5 6 >| | 51 Einträge, 6 Seiten |
1 2 3 4 5 6
sub abfrage{ my ($arref) = @_; for my $element(@$arref){ print $element; } }
QuoteDie beiden Threads bekommen jeweils eine andere Liste...
my ($arref) = @_;
1
2
3
4
Can't use string ("IgorMorkof") as an ARRAY ref while "strict refs" in use at
blah.pl line 88, <$fh> line 20 (#1)
(F) Only hard references are allowed by "strict refs". Symbolic
references are disallowed. See perlref.
1 2
my $thr1 = threads->create(\&abfrage, $nick, $proxy, $host, $login, @liste_1); $thr1 = threads->create(\&abfrage, $nick, $proxy, $host, $login, @liste_2);
print @liste_1;
my ($arrayref) = @_
1 2
my $thr1 = threads->create(\&abfrage, $nick, $proxy, $host, $login, @liste_1); $thr1 = threads->create(\&abfrage, $nick, $proxy, $host, $login, @liste_2);
print @liste_1;
1 2
my $thr1 = threads->create(\&abfrage, $nick, $proxy, $host, $login, @liste_1); $thr1 = threads->create(\&abfrage, $nick, $proxy, $host, $login, @liste_2);
|< 1 2 3 4 5 6 >| | 51 Einträge, 6 Seiten |