If you're asking about joining if the value in $in is an array reference then something like my $in = ref($scalar) eq 'ARRAY' ? join( ',', @{$scalar} ) : $scalar; but there's a mild hint of XY problem in the air.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Joining if an array
by Fletch
in thread Joining if an array
by Rodster001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |