I would expect dump(@$fldref[TXT]); and dump($tmp) to print out the same output.
dump(@$fldref[TXT]) is equivalent to dump($fldref[TXT][0], $fldref[TXT][1], ...). But since there is only one array element in $fldref[TXT] we get:
dump(@$fldref[TXT]) equivalent to dump($fldref[TXT][0]) which is equivalent to dump($tmp) - hence the same output.
Best, beth
In reply to Re: foreach doesn't select array element
by ELISHEVA
in thread foreach doesn't select array element
by december
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |