Thread Ausgabe einer bestimmten Zeichenkette in einem Datensatz
(18 answers)
Opened by Catherina at 2012-03-28 11:00 Code (perl): (dl
)
1 2 3 4 use DateTime; my ($epoch1, $epoch2) = (split ' ', $line)[17,18]; my $date1 = DateTime->from_epoch( epoch => $epoch1 ); ... 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: Wie frage ich & perlintro brian's Leitfaden für jedes Perl-Problem |