my $in; $in = join(",",@{$scalar}) if $scalar =~ /array/i; $in = $scalar if !$in; [download]
In reply to Joining if an array by Rodster001