NAME

Net::NSCA::Client::Library - Types library

VERSION

This documentation refers to version 0.009002

SYNOPSIS

use Net::NSCA::Client::Library qw(Bytes);
# This will import Bytes type into your namespace as well as some helpers
# like to_Bytes and is_Bytes. See MooseX::Types for more information.

DESCRIPTION

This module provides types for Net::NSCA::Client and family. This type library is not intended to be used my module in other distributions.

METHODS

No methods.

TYPES PROVIDED

Bytes

Added in version 0.009; be sure to require this version for this feature.

This requires a string that does not have the internal UTF-8 flag enabled (because that means it is not a byte sequence). This provides a coercion to change the string into the UTF-8 byte sequence.

Hostname

This specifies a hostname. This is validated using the Data::Validate::Domain library with the is_hostname function.

PortNumber

This type is exactly the same as the type PortNumber from MooseX::Types::PortNumber.

DEPENDENCIES

This module is dependent on the following modules:

AUTHOR

Douglas Christopher Wilson, <doug at somethingdoug.com>

BUGS AND LIMITATIONS

Please report any bugs or feature requests to bug-net-nsca-client at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-NSCA-Client. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

I highly encourage the submission of bugs and enhancements to my modules.

LICENSE AND COPYRIGHT

Copyright 2009 Douglas Christopher Wilson.

This program is free software; you can redistribute it and/or modify it under the terms of either:

  • the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or

  • the Artistic License version 2.0.