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
MooseX::Types::URI(3) User Contributed Perl Documentation MooseX::Types::URI(3)

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

version 0.09

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

This package provides Moose types for fun with URIs.

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

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 (but only if MooseX::Types::Path::Class is installed)

Coerces from "ScalarRef" via "new" in URI::data.

Coerces from "HashRef" using URI::FromHash.

A URI whose scheme is "data".

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

A URI::file class type.

Has coercions from "Str" (and optionally 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).

Think about Path::Resource integration of some sort

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-URI> (or bug-MooseX-Types-URI@rt.cpan.org <mailto:bug-MooseX-Types-URI@rt.cpan.org>).

There is also a mailing list available for users of this distribution, at <http://lists.perl.org/list/moose.html>.

There is also an irc channel available for users of this distribution, at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.

XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>

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

This software is copyright (c) 2008 by XXXX XXX'XX (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.

2021-03-11 perl v5.32.1

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

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