Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: Extracting Unique elements

by wind (Priest)
on Jun 17, 2011 at 20:00 UTC ( #910250=note: print w/replies, xml ) Need Help??


in reply to Re^4: Extracting Unique elements
in thread Extracting Unique elements

Just use join instead of a loop:

print FH ref($bar) eq "ARRAY" ? join(',', @$bar) : $bar;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://910250]
help
Chatterbox?
[jdporter]: Node=1169071 — Author= — Date=
[jdporter]: [id://1169071<%A]

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2017-05-23 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?