- or download this
$customer->[0]{_name}
$customer->[0]{_address1}
$customer->[0]{_address2}
- or download this
my $i = 1;
$varname = "_address" . $i;
print "Customer Address", $customer->[0]{$varname};
- or download this
print "Customer Address", $customer->[0]{${varname}};