++ed by:
SSCAFFIDI

1 PAUSE user

Adam Flott

NAME

Thorium::TypesTests - additional tests for Thorium::Types

VERSION

version 0.510

SYNOPSIS

    use Thorium::TypesTests qw(HostnameOrIP);

    has 'response' => (
        'isa'     => HostnameOrIP,
        'is'      => 'rw',
        'default' => sub { '192.168.0.10' },
        'trigger' => sub { Thorium::TypesTests::test_HostnameOrIP(@_) }
    );

DESCRIPTION

Use this if you'd like to add additional tests as either Moose attribute triggers or as a standalone library for additional more complicated tests. For instance, HostnameOrIP test above will ping the host.

AUTHOR

Adam Flott <adam@npjh.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Adam Flott <adam@npjh.com>, CIDC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.