Create get_cur2prev_offset.pm