in reply to Re: Dereferencing and context?
in thread Dereferencing and context?
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;
|
|---|