Reader: 1
|< 1 2 >| | 12 entries, 2 pages |
1
2
3
4
5
open my $fh, '<', $file or die $!;
<$fh>; # erste Zeile "überspringen"
while (my $line = <$fh>) {
# Verarbeitung
}
my @lines = <FH>;
{my $null = <$fh>;}
1
2
3
4
5
6
7
$_ = "blub";
open my $fh, '<', 'text';
<$fh>;
print $_;
while ( my $line = <$fh> ) {
print $line;
}
Quoteopen my $fh, '<', $file or die $!;
while (my $line = <$fh>) {
next if $. ==1;
# Verarbeitung
}
foreach my $line (<$fh>) {
|< 1 2 >| | 12 entries, 2 pages |