Thread Handle in String
(6 answers)
Opened by Perl1976 at 2015-05-08 09:39
$count brauchst nicht, die Zeilen# steck in $.
chomp ohne Argument nimmt $_ Brief: Code (perl): (dl
)
1 2 3 4 5 use strict; use warnings; open my $dir, "dir |" or die $^E; printf "Zeile: %s => %s\n", $. , do{chomp; $_} while <$dir>; ( >dir anstelle >ls ) |