use strict; my %my_hash = ( k1 => "123", k2 => ["Bach", "Bachi"], ); my @my_array = @{$my_hash{"k2"}}; print @my_array;