NAME
OP::URI
VERSION
$Id: //depotit/tools/snitchd/OP-0.20/lib/OP/URI.pm#1 $
SYNOPSIS
use OP::URI;
my $addr = OP::URI->new("http://www.example.com/");
DESCRIPTION
URI object.
Extends URI, 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(optional()), # ... };
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.