in reply to Splitting Multiple files into arrays.
Please format your code to make it readable. This is your code correctly reformatted.
In short, you are using symbolic references, which was right 15 years ago, but is deprecated and probably wrong today.for (my $i = 1 ;$i <=8; $i++) { open (MYFILE,"server$i"); while (<MYFILE>) { chomp; my @values = split " ",$_; push @{ "table$i"},\@values; } }
|
|---|