in reply to Fun with arrays and hashes

1. Yes, by several means.
use Storable; store (\@array, "/path/to/array.dat"); my @newarray = @{retrieve("/path/to/array.dat")};
2. and 3.
while(<>) { /^(.+)\: (.+)$/; my $key = $1 my @values = split(", ", $2); $hash{$key} = \@values; } foreach my $key (sort keys %hash) { print "$key: ", join(", ", @{$hash{$key}}), "\n"; }


I hope that I understood what you were asking. -xtype