| Data-Rx documentation | Contained in the Data-Rx distribution. |
Data::Rx::TypeBundle - base class for type bundles
version 0.100110
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2010 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Data-Rx documentation | Contained in the Data-Rx distribution. |
use strict; use warnings; package Data::Rx::TypeBundle; our $VERSION = '0.100110'; # ABSTRACT: base class for type bundles sub prefix_pairs { return if ref $_[0] and $_[0]->{no_prefix}; $_[0]->_prefix_pairs; } sub without_prefix { bless { no_prefix => 1 } => $_[0]; } 1; __END__