+ 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";
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: hashref and references
by davorg
in thread hashref and references
by rightfield
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |