Thread Anzahl Zeilen in Textdatei ermitteln: (Wie mache ich das am schnellsten?) (34 answers)
Opened by Crian at 2004-04-21 11:58

[E|B]
 2004-04-21 13:21
#81697 #81697
User since
2003-08-08
2561 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Anderer Vorschlag:

Code: (dl )
1
2
3
open(F, "file.txt");
print scalar(@array = <F>);
close(F);
Gruß, Erik!

s))91\&\/\^z->sub{}\(\@new\)=>69\&\/\^z->sub{}\(\@new\)=>124\&\/\^z->sub{}\(\@new\)=>);
$_.=qq~66\&\/\^z->sub{}\(\@new\)=>93~;for(@_=split(/\&\/\^z->sub{}\(\@new\)=>/)){print chr;}

It's not a bug, it's a feature! - [CGI-World.de]

View full thread Anzahl Zeilen in Textdatei ermitteln: (Wie mache ich das am schnellsten?)