Is there an easy way to assign multi values to a single hash.

below i am creating 5 diffrent hashes for the same index(cust_id). Trying to
find and easy way.

thanks

my %address1 ;
my %address2 ;
my %cities ;
my %states ;
my %zips ;


if(!exists $address1{$cust_id})
{
        $address1{$cust_id} = $ivc_addr1 ;
        $address2{$cust_id} = $ivc_addr2 ;
        $cities{$cust_id} = $ivc_city ;
        $states{$cust_id} = $ivc_state ;
        $zips{$cust_id} = $ivc_zip ;
}


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to