Fedora::Bugzilla::TypeUser Contributed Perl DocumentFedora::Bugzilla::Types(3)NAMEFedora::Bugzilla::Types - Moose types and coercions for
Fedora::Bugzilla
SYNOPSIS
use Fedora::Bugzilla::Types ':all';
# ... can now use our types in attribute definitions
DESCRIPTION
This is simply a collection of Moose types and related coercions for
Fedora::Bugzilla.
TYPES
Str20
A string type with a length at most of 20 characters.
BugzillaDateTime
Simply a DateTime object with a DateTime::Format::Pg as its
formatter. (Note this may be specific to the database one's
Bugzilla instance is running on.)
Will coerce from DateTime.
EmailAddress
Simply an Email::Address.
Will coerce from a Str.
SEE ALSO
Fedora::Bugzilla, MooseX::Types, Moose::Util::TypeConstraints.
AUTHOR
Chris Weyl <cweyl@alumni.drew.edu>
LICENSE AND COPYRIGHT
Copyright (c) 2009 Chris Weyl <cweyl@alumni.drew.edu>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the
Free Software Foundation, Inc.
59 Temple Place, Suite 330
Boston, MA 02111-1307 USA
perl v5.14.1 2009-09-26 Fedora::Bugzilla::Types(3)