FAQ

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:
https://metacpan.org/pod/MooseX::Types::HTTPMethod

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
groupmoose @
categoriesperl
postedSep 28, '14 at 8:28p
activeSep 29, '14 at 1:14a
posts3
users2
websiteiinteractive.com...

2 users in discussion

Bill Moseley: 2 posts Karen Etheridge: 1 post

People

Translate

site design / logo © 2021 Grokbase