in reply to Break an array. I think.
About:
you can obtain the same behavoir more simply with:print join(" ",@datan);
But beware the value of $" special variable.print "@datan";
Moreover, according to TMTOWTDI, you can "break" your array also with:{ local $"=", "; print "@datan" }
my $break=3; print $break!=$_ ? "$_ ": "$_\n" for (@datan);
|
|---|