CPAN contains numerous existing class implementations - some of which may be suitable for your purpose - for inclusion in the composing class. However, if there's nothing suitable, roll your own class (see perlmodlib & perlmod) for each data type in which you're interested and include that in your composing class.
In reply to Re: Create a class with mutiple datatypes
by Bloodnok
in thread Create a class with mutiple datatypes
by snra_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |