in reply to Re: need to put values (from unpack) into array-ref
in thread need to put values (from unpack) into array-ref
Better yet.
#! perl -slw use strict; use Data::Dumper; my $b = "abefcdghijklmn"; my @a = ( [ 'start 0', unpack '(A1x)*', $b ], [ 'start 1', unpack '(xA1)*', $b ] ); print Dumper \@a; __END__ C:\test>539664 $VAR1 = [ [ 'start 0', 'a', 'e', 'c', 'g', 'i', 'k', 'm' ], [ 'start 1', 'b', 'f', 'd', 'h', 'j', 'l', 'n' ] ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: need to put values (from unpack) into array-ref
by japhy (Canon) on Mar 28, 2006 at 13:57 UTC | |
|
Re^3: need to put values (from unpack) into array-ref
by jeanluca (Deacon) on Mar 28, 2006 at 11:16 UTC |