$b = "abefcdghijklmn" ; $a[0]->[0] = "start 0" ; $a[1]->[0] = "start 1" ; my @b = unpack 'A' x 14, $b; while (@b) { push @{$a[0]}, shift @b; push @{$a[1]}, shift @b; } foreach ( @{$a[0]} ) { print "$_\n" ; }
In reply to Re: need to put values (from unpack) into array-ref
by salva
in thread need to put values (from unpack) into array-ref
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |