L
laredotornado
Hi,
I have a hash with a scalar as a key and an array as a value.
Hopefully, I'm setting it up right, but when I try and print my array,
the only thing that prints out is the first value. How do I rewrite
the below to print back all values in the array?
my %field_fns = ();
$field_fns{'MAIL_ZIP'} = ('MailingZipInvalid', 'MailingZipBlank',
'MailingZipNull');
print $field_fns{'MAIL_ZIP'};
Thanks, - Dave
I have a hash with a scalar as a key and an array as a value.
Hopefully, I'm setting it up right, but when I try and print my array,
the only thing that prints out is the first value. How do I rewrite
the below to print back all values in the array?
my %field_fns = ();
$field_fns{'MAIL_ZIP'} = ('MailingZipInvalid', 'MailingZipBlank',
'MailingZipNull');
print $field_fns{'MAIL_ZIP'};
Thanks, - Dave