The problem with them is one can't check the value before it is set.
Oh, but you can. I addressed that in To Validate Data In Lvalue Subs. The Constrained package from that node turned out to have lots of other uses, too. It's now called Tie::Constrained on CPAN.
After Compline,
Zaxo
In reply to Re^8: Tim O'Reilly on Perl
by Zaxo
in thread Tim O'Reilly on Perl
by fauria
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |