I don't know exactly what you're trying to do, but I would guess you want something like this.
my @c = ( 22, 44, 55 ); my @d = ( 'yy', 'tt' ); my @b; @b[0,1] = ( $c[0], $d[0] ); my @e = ( $b[1] ); print "<$e[0]>\n";
In reply to Re: What do I do wrong? I want an array of arrays
by friedo
in thread What do I do wrong? I want an array of arrays
by pcouderc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |