Then go back to using push @array, $record;, like you did in the OP.
Maybe you should address the warning before you do anything else.
In reply to Re^3: pull single value
by ikegami
in thread pull single value
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |