or download this
use strict; #for better practice
use warnings;#same as above
...
$bits{'one'}= \@test;#assign the array ref, not the flattened array it
+self.
my @new = @{$bits{'one'}};#now deref it, so you get the flattened arr
+ay back.
print '['.$new[2].'] ['.$new[1].'] ['.$new[0]."]\n";