my $i_numbers = $opt{NUMBERS}; # $i_numbers is an arrayref # or my @i_numbers = @{ $opt{NUMBERS} }; # dereference the arrayref as you get it from the hash