push @dat, [ $interface_name, $ifstatus ] ; then later... $dat[$ip_count][2]=$ipaddr;