in reply to Joining if an array
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Joining if an array
by Rodster001 (Pilgrim) on May 01, 2009 at 15:49 UTC |