MooseX::Types::Util5.16 man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]

MooseX::Types::Util(3)User Contributed Perl DocumentatioMooseX::Types::Util(3)

NAME
       MooseX::Types::Util - Common utility functions for the distribution

VERSION
       version 0.35

DESCRIPTION
       This package the exportable functions that many parts in MooseX::Types
       might need.

FUNCTIONS
   filter_tags
       Takes a list and returns two references. The first is a hash reference
       containing the tags as keys and the number of their appearance as
       values.	The second is an array reference containing all other
       elements.

   has_available_type_export
	 TypeConstraint | Undef = has_available_type_export($package, $name);

       This function allows you to introspect if a given type export is
       available at this point in time. This means that the $package must have
       imported a typeconstraint with the name $name, and it must be still in
       its symbol table.

       Two arguments are expected:

       $package
	   The name of the package to introspect.

       $name
	   The name of the type export to introspect.

       Note that the $name is the exported name of the type, not the declared
       one. This means that if you use Sub::Exporters functionality to rename
       an import like this:

	 use MyTypes Str => { -as => 'MyStr' };

       you would have to introspect this type like this:

	 has_available_type_export $package, 'MyStr';

       The return value will be either the type constraint that belongs to the
       export or an undefined value.

SEE ALSO
       MooseX::Types::Moose, Exporter

LICENSE
       This program is free software; you can redistribute it and/or modify it
       under the same terms as perl itself.

AUTHOR
       Robert "phaylon" Sedlacek <rs@474.at>

COPYRIGHT AND LICENSE
       This software is copyright (c) 2012 by Robert "phaylon" Sedlacek.

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

perl v5.16.2			  2012-05-18		MooseX::Types::Util(3)
[top]

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net