Thread Von Arrays, Files und überhaupt. (6 answers)
Opened by Cer at 2005-03-04 22:52

pq
 2005-03-04 23:45
#52308 #52308
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
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: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Von Arrays, Files und überhaupt.