in reply to From Array 2 string
Sure.
$;=sub{$\};my@x=map{my($x,$y)=($;,$_);$;= sub{$x->().$y}}@arr;;my$str=($x[-1]->());
Or you could just use join, but what fun is that?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: From Array 2 string
by tirwhan (Abbot) on Nov 15, 2005 at 19:20 UTC |