Acme::Types::NonStandard - unbundled set of stupid types for Type::Tiny
use Acme::Types::NonStandard -types;
An attempt to provide totally useless types that Types::Standard does not.
A dualvar (see "dualvar" in Scalar::Util) whose stringy value must be a floating point number or integer distinct from the numeric value (to maximize debugging confusion).
The number 42. Always.
Can be coerced from Any (to the number 42).
An object that contains cyclic references (per Devel::Cycle).
An array that only contains undef
(but as many of them as you'd like!)
A reference to a reference to a reference (to ensure adequate levels of indirection; see also: Cargill's quandry).
Jon Portnoy avenj@cobaltirc.org, but I'm going to loudly deny while pointing
fingers at popl
and hobbs
on irc.perl.org#moose
.
Licensed under the same terms as Perl.
Patches or suggestions regarding other completely stupid types welcome, as long as they're not in any way useful.