The only way I can think of is to put all three sets of tie-methods in the same package, and let dispatch to the right ones automagically (with a bit of extra logic to deal with the common methods). I did this in Sub::Sealed, but that was a joke module, so I didn't really bother to find out if that was best-practice.
In reply to Re^2: Does there exist a CPAN module for lazily initialized variables?
by jryan
in thread Does there exist a CPAN module for lazily initialized variables?
by jryan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |