I am in need of a function that will take in an (ax, ay, bx, by, cx, cy, dx, dy) and treat AB as a line segment, and BC as a line segment, and then return the intersection point (px, py) if there is one for the two segments. I have looked over cpan but could not find anything there. Anyone have any ideas?