Is there any special way to do row/col (two dimensional) based associative
arrays?
Something like:
$array{1.1}="line one column one";
$array{1.2}="line one column two";
or
@names(Bob,John,Jeff);
@info=(Age,Zip,Phone);
$data{Bob.Age}=23;
foreach $entry (@names) {
print "$data{$entry.Age}\n";
--On Wednesday, September 17, 2003 7:52 PM -0700 Airman <[EMAIL PROTECTED]>
wrote:
Is there any special way to do row/col (two dimensional) based associative
arrays?
Something like:
$array{1.1}="line one column one";
$array{1.2}="line one column two";
Close. You need a hash of (references to) h
From: "Airman" <[EMAIL PROTECTED]>
> Is there any special way to do row/col (two dimensional) based
> associative arrays?
>
> Something like:
>
> $array{1.1}="line one column one";
> $array{1.2}="line one column two";
>
> or
>
> @names(Bob,John,Jeff);
> @info=(Age,Zip,Phone);
>
> $data{Bob.Age