<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def geo_perimeter(arg, use_spheroid=None):
 """ Compute perimeter of a geo spatial data Parameters arg : geometry or geography use_spheroid : default None Returns ------- perimeter : double scalar """

    op = ops.GeoPerimeter(arg, use_spheroid)
    return op.to_expr()