$ xsd2pm foo.xsd > Foo.pm #### $ xsd2module foo.xsd Creating Perl distribution for Foo... ... ... #### The longitude of the point. Decimal degrees, WGS84 datum. #### sub longitudeType { &_non_null and &xsd_decimal and $_[0]->_between( $_[1], -180, 180 ) }