my $some_string = "0,-933"; my ($id1,$n1) = split(",",$some_string);