Thread pm-Modul: DATA-Teil und 1; inkompatibel?
(15 answers)
Opened by RalphFFM at 2008-01-09 11:08
aha! das ist doch schon konkreter.
merk dir die position am anfang mit tell() also Code (perl): (dl
)
1 2 3 4 5 use Fcntl qw/ :seek /; my $pos = tell DATA; # erster durchlauf seek DATA, $pos, SEEK_SET; # immer die konstanten benutzen! # zweiter durchlauf 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: ![]() ![]() |