Thread Von Arrays, Files und überhaupt.
(6 answers)
Opened by Cer at 2005-03-04 22:52
my @lines;
while (<$fh>) { chomp; push @lines, [split m/:/, $_]; } use Data::Dumper; print Dumper \@lines; http://wiki.perl-community.de/bin/view/Perldoc http://wiki.perl-community.de/bin/view/Wissensbasis/UseStrict perldoc perlintro perldoc perldata perldoc perlref\n\n <!--EDIT|pq|1109972792--> 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 |