Thread welches last zieht? (4 answers)
Opened by esskar at 2004-02-27 18:43

esskar
 2004-02-27 18:43
#80370 #80370
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
sub last
{
my $self = shift;

# ...
}

sub uidl
{
my $self = shift;
# ...
while(defined($line = $self->getline()))
{
$line =~ /^\.\s*$/ and last;
# ...
}

# ...
}


laut conway, wird doch nun in der Schleife, das last des Objectes aufgerufen, oder?
Wenn ja, hilft dann CORE::last ?

View full thread welches last zieht?