Now I can understand

$ips->{"@$row[0]"}=test_ip(@$row[1]);

$ips was the scalar now which has become a hash ref and we are intializing the key value. But following is little tricky, please help me in understand.

$ips->{"@$row[0]"}->{"@$row[1]"}=test_ip(@$row[1]);

and later in any other function how can I use $ips???