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;
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (531 votes). Check out past polls.