Thread separator (16 answers)
Opened by RPerl at 2007-02-11 18:50

PerlProfi
 2007-02-12 20:11
#74232 #74232
User since
2006-11-29
340 Artikel
BenutzerIn
[default_avatar]
[quote=RPerl,11.02.2007, 19:36]Aber noch eine Frage:
Wenn $content = "erfolgreich" enthaelt, dann soll er mir die stelle wo er war z.b. bei 1,2,3 kommt "erfolgreich" soll er mir 1,2,3 ausgeben. Wie mach ich das?[/quote]
Das steht da doch schon quasi:
Code: (dl )
1
2
3
4
5
6
7
8
for my $stop(0..scalar(@array)-1){
my $tmp_str = join(',', @array[0..$stop]);
my $content = get($url . $tmp_str);
if ($content)
{
print "Test: ", $tmp_str, "\n";
}
}


MfG\n\n

<!--EDIT|PerlProfi|1171303935-->

View full thread separator