This is not desirable, because this uses a soft reference, which is a (generally) "Bad Thing"(tm), for a host of reasons.
Best is to use a lexically-scoped hash or a HoHoH's (like the poster has ended up doing).
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
In reply to Re: Re: refs and hashes
by dragonchild
in thread refs and hashes
by diarmuid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |