1 2 3
open DFF3, "<", $Config->{optim}->{dCdeffile} || die "Could not open file: $Config->{optim}->{dCdeffile} for acquiring destination cct data. bye.\n"; print readline(DFF3);
print scalar readline($handle);
print "" . readline($handle);
1 2 3 4 5 6 7
open my $dff3, "<", $Config->{optim}->{dCdeffile} || die "Could not open file: $Config->{optim}->{dCdeffile} for acquiring destination cct data. bye.\n"; my $ncsv= Text::CSV->new ( {sep_char => ';', binary => 1 }); $ncsv->eol("\r\n"); while ($ldata=$ncsv->getline($dff3)) { push @destdcs, [@$ldata]; }
1
2
3
4
5
6
7
8
perl -e "print \"\r\n\";" | xxd
0000000: 0d0d0a ...
perl -e "print \"\r\";" | xxd
0000000: 0d .
perl -e "print \"\n\";" | xxd
0000000: 0d0a ..
2014-03-18T15:22:57 MuffiDann schreib mal als Zelleninhalt ein paar Zeilenumbrüche, Strichpunkte und Anführungszeichen rein, dann schaumer mal ;)
print ~~readline(DFF3);
2014-03-18T15:46:40 GwenDragon