- or download this
my $i = 1;
$varname = "_address" . $i;
$customer->[0]{$varname} = $customer->[0]{'_address'};
print "Customer Address", $customer->[0]{$varname};
- or download this
$customer->[0]{_address1}
$customer->[0]{_address2}
- or download this
$customer->[0]{_address}[0]
$customer->[0]{_address}[1]
- or download this
my $arrayref = $customer->[0]{_address};
for my $address (@$arrayref) {
# do whatever with $address
...
}