in reply to hashref and references

+ isn't the concatenation operator in Perl. You want . (a dot). Actually, here you just need to interpolate your values into your string.

print DATAOUT "$_:$ref->{$_}\t";
--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg