On Sun, Sep 28, 2014 at 01:27:53PM -0700, Bill Moseley wrote:
I'm going to build a request with HTTP::Request::Common and want to use its
existing methods (POST, PUT, GET, etc.)
I'm curious how to control the error message better when coercing.
I'm going to build a request with HTTP::Request::Common and want to use its
existing methods (POST, PUT, GET, etc.)
I'm curious how to control the error message better when coercing.
subref, vs. as a string?
this may be of use for your validation check:
https://metacpan.org/pod/MooseX::Types::HTTPMethod