in reply to Hash problem

Maybe if we knoew what was in @array2...
use Data::Dumper; print(Dumper(\@array2));