GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOOSEX::TYPES::URI (3)

.ds Aq ’

NAME

MooseX::Types::URI - URI related types and coercions for Moose

CONTENTS

VERSION

version 0.08

SYNOPSIS



        use MooseX::Types::URI qw(Uri FileUri DataUri);



DESCRIPTION

This package provides Moose types for fun with URIs.

TYPES

The types are with ucfirst naming convention so that they don’t mask the URI class.

CWUri

Either URI or URI::WithBase

Coerces from Str via new in URI.

Coerces from Path::Class::File and Path::Class::Dir via new in URI::file.

Coerces from ScalarRef via new in URI::data.

Coerces from HashRef using URI::FromHash.

CWDataUri

A URI whose scheme is data.

Coerces from Str and ScalarRef via new in URI::data.

CWFileUri

A URI::file class type.

Has coercions from Str, Path::Class::File and Path::Class::Dir via new in URI::file

It has slightly DWIMier types than the URI classes have due to implementation details, so the types should be more forgiving when ducktyping will work anyway (e.g. URI::WithBase does not inherit URI).

TODO

Think about Path::Resource integration of some sort

AUTHOR

XXXX XXXXX (Yuval Kogman) <nothingmuch@woobling.org>

CONTRIBUTORS

o Karen Etheridge <ether@cpan.org>
o Florian Ragwitz <rafl@debian.org>
o Olivier Mengue\k:'<dolmen@cpan.org>
o Daniel Pittman <daniel@rimspace.net>
o MORIYA Masaki (gardejo) <moriya@ermitejo.com>
o Shawn M Moore <sartak@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2008 by XXXX XXXXX (Yuval Kogman).

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOOSEX::TYPES::URI (3) 2015-08-16

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.