NAME
OP::URI - Overloaded URI object class
SYNOPSIS
use OP::URI;
my $addr = OP::URI->new("http://www.example.com/");
DESCRIPTION
Extends OP::Str. Uses Data::Validate::URI to verify input.
PUBLIC CLASS METHODS
assert(OP::Class $class: *@rules)
Returns a new OP::Type::URI instance which encapsulates the received OP::Subtype rules.
create "OP::Example" => { someAddr => OP::URI->assert(...), # ... };
new(OP::Class $class: Str $addr)
Returns a new OP::URI instance which encapsulates the received value.
my $object = OP::URI->new($addr);
SEE ALSO
URI, OP::Str, Data::Validate::URI
This file is part of OP.