in reply to Re^4: Extracting Unique elementsin thread Extracting Unique elements
Just use join instead of a loop:
print FH ref($bar) eq "ARRAY" ? join(',', @$bar) : $bar;
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (545 votes). Check out past polls.