The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MooseX::Types::LWP::UserAgent - MooseX::Types for LWP::UserAgent objects

SYNOPSIS

    use Moose;
    use Moose::Util::TypeConstraints;
    use MooseX::Types::LWP::UserAgent qw(UserAgent);

    has 'ua' => (
        is     => 'rw', 
        isa    => 'UserAgent',
        coerce => 1,
    );

DESCRIPTION

Provides type constraints that match LWP::UserAgent objects. Also provides coercions for ArrayRef and HashRef that call LWP::UserAgent->new with the passed arguments.

AUTHOR

Robert Norris <rob@eatenbyagrue.org>

COPYRIGHT AND LICENSE

Copyright 2010 Robert Norris, all rights reserved.

This module is free software; you can redistribute it and/or modify it under the terms of the Artistic License v2.0. See http://www.opensource.org/licenses/artistic-license-2.0.php for details.