Thread <$fh> (7 answers)
Opened by Froschpopo at 2006-10-04 05:24

pq
 2006-10-04 17:59
#70458 #70458
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
[quote=topeg,04.10.2006, 05:00]
Code: (dl )
1
2
  my @ret=();
 push(@ret,$line)  while(my $line=<$fh>);
[/quote]
ein
Code: (dl )
my @ret = <$fh>;
reicht dir nicht?
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread <$fh>