my $string = join '', @$_ for @AoA;
update: it has to be ".=", not just "=", with $string scoped/declared outside the for loop, in order to get all the elements. (thanks to Zaxo for pointing out the mistake)my $string = ''; $string .= join '', @$_ for @AoA;
In reply to Re: Re: Dereferencing and context?
by graff
in thread Dereferencing and context?
by Not_a_Number
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |