Thread While Schleife - logische operatoren? (2 answers)
Opened by monti at 2011-10-31 12:36

monti
 2011-10-31 12:55
#153689 #153689
User since
2011-08-05
57 Artikel
BenutzerIn
[default_avatar]
oh man, mein Hirn!

es muss natürlich

Code: (dl )
1
2
3
4
5
6
7
8
9
#!/usr/bin/perl -w
use strict;
my $line;

while ($line ne "ENDE" && $line ne "QUIT") {
$line=<STDIN>;
chomp $line;
print "Input2: $line\n";
}


heissen.
Problem solved :)

View full thread While Schleife - logische operatoren?