http://qs1969.pair.com?node_id=1152109


in reply to comma within array

choroba covers the details, but here is my odd variation:
perl -le '@names = qw( abe bill chuck ); @arrayCode = qw| $cn=join(",",@names); print@names; print$cn + |; eval ($_) for @arrayCode ' __output__ abebillchuck abe,bill,chuck
Never tried eval in this manner. Now I have, :)