in reply to quickly create reference to boring hash.

my $hashref; @{$hashref}{@array} = (['id_1']) x @array;

Perl is environmentally friendly - it saves trees