Thread Hilfe 2: :( (45 answers)
Opened by Klint at 2003-08-27 15:11

Klint
 2003-08-27 19:53
#80851 #80851
User since
2003-08-24
18 Artikel
BenutzerIn
[Homepage] [default_avatar]
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- <bottlers.pl> ----------------------------------
#!perl -w

@bottlers = ("Signatory","Gordon & MacPhail",
"The bottlers");
print "Abfüller:\n";
foreach $bottler (@bottlers) {
print "- $bottler\n;
}
print "\nUnd nun das Ganze alphabetisch sortiert:\n";
@sorted = sort @bottlers;
$number_of_elements = @sorted;
for($i=0;$i < $number_of_elements;§i++) {
print "- " . $sorted[$i] ."\n";
}
--- </bottlers.pl> ----------------------------------


warum geht das nich? grad mal 4 seiten weiter ... aber jetz weiss ich wirklich nimmer ob das buch so gut is
.::KLINT::.

View full thread Hilfe 2: :(