NAME

Devel::Ladybug::URI - Overloaded URI object class

SYNOPSIS

use Devel::Ladybug::URI;

my $addr = Devel::Ladybug::URI->new("http://www.example.com/");

DESCRIPTION

Extends Devel::Ladybug::Str. Uses Data::Validate::URI to verify input.

PUBLIC CLASS METHODS

  • assert(Devel::Ladybug::Class $class: *@rules)

    Returns a new Devel::Ladybug::Type::URI instance which encapsulates the received Devel::Ladybug::Subtype rules.

    create "YourApp::Example::" => {
      someAddr  => Devel::Ladybug::URI->assert(...),
    
      # ...
    };
  • new(Devel::Ladybug::Class $class: Str $addr)

    Returns a new Devel::Ladybug::URI instance which encapsulates the received value.

    my $object = Devel::Ladybug::URI->new($addr);

SEE ALSO

URI, Devel::Ladybug::Str, Data::Validate::URI

This file is part of Devel::Ladybug::Net.