NAME
Devel::Ladybug::Domain - Fully qualified domain name object
SYNOPSIS
use Devel::Ladybug::Domain;
#
# A fully qualified domain name
#
my $domain = Devel::Ladybug::Domain->new("example.com");
DESCRIPTION
Domain name object.
Extends Devel::Ladybug::Str. Uses Data::Validate::Domain to verify input.
PUBLIC CLASS METHODS
assert(Devel::Ladybug::Class $class: *@rules)
Returns a new Devel::Ladybug::Type::Domain instance which encapsulates the received Devel::Ladybug::Subtype rules.
create "YourApp::Example::" => { someAddr => Devel::Ladybug::Domain->assert( subtype( optional => true ) ), # ... };
new(Devel::Ladybug::Class $class: Str $addr)
Returns a new Devel::Ladybug::Domain instance which encapsulates the received value.
my $object = Devel::Ladybug::Domain->new($addr);
SEE ALSO
Devel::Ladybug::Str, Data::Validate::Domain
This file is part of Devel::Ladybug::Net.