I have a reference to an array of references. To print contents I would do this:
is there any way to bypass the for loop and put the contents into a regular array without a loop? Is it even possible?for $i(0..$#{$ref}) { print $ref->[$i][0]; }
any help would be greatly appreciated.eg: @newarray= ....
Added code tags - dvergin 2003-04-02
In reply to array references by vivapl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |