1 package MooseX::Types::Util;
5 MooseX::Types::Util - Common utility functions for the module
16 This package the exportable functions that many parts in
17 L<MooseX::Types> might need.
21 our @EXPORT_OK = qw( filter_tags );
27 Takes a list and returns two references. The first is a hash reference
28 containing the tags as keys and the number of their appearance as values.
29 The second is an array reference containing all other elements.
43 return \%tags, \@other;
48 L<MooseX::Types::Moose>, L<Exporter>
50 =head1 AUTHOR AND COPYRIGHT
52 Robert 'phaylon' Sedlacek C<E<lt>rs@474.atE<gt>>, with many thanks to
53 the C<#moose> cabal on C<irc.perl.org>.
57 This program is free software; you can redistribute it and/or modify
58 it under the same terms as perl itself.