in reply to hashref and references
You're using Java syntax, not Perl. Try this instead:print DATAOUT "$_"+":"+"$ref->{$_}\t";
Unless of course you really do want to add up the strings, instead of concatenate them! :)print DATAOUT $_ . ":" . $ref->{$_} . "\t";
|
|---|