develooper Front page | perl.moose | Postings from September 2014

Re: Coerce and messages

Thread Previous | Thread Next
Karen Etheridge
September 28, 2014 23:52
Re: Coerce and messages
Message ID:
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 lost - what is the advantage to storing the HTTP request method as a
subref, vs. as a string?

this may be of use for your validation check:

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About