in reply to Re^2: read-only error
in thread read-only error

All it's saying is that $dist_only is empty. You can correct it with.
foreach my $dist_only (@all_store_info) { next if (!$dist_only); my @array = split(/ / , $dist_only);
But that is FAR from worst problem with that code. Re-read these posts and try to fix all your code before posting again.


grep
Mynd you, mønk bites Kan be pretti nasti...