Yes, tie can be used to produce ACMI:: type results, it can also be put to many legitimate uses. If all you need is a variable that acts in a special way, why bother with an unwieldy object interface? Tie is simply one more tool in the toolbelt of Perl programming. Use it where it's convenient and where it provides clarity or simplicity to design.
Dave
In reply to Re: When to use Tie
by davido
in thread When to use Tie
by hardburn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |