Chromatic, you have me wondering if I should start using either prototypes or 'ref' to verify what reference I have. Otherwise, there seems to be little difference between the typeglob trick and using references -- if you assume you have an array you're still not going to catch the hash problem until runtime (perhaps you will get a more descriptive error message).
Do many of you check the reference type? And is there a way to figure out what type of variable a typeglob is aliasing to?
In reply to Re: Confused about typeglobs and references
by Argel
in thread Confused about typeglobs and references
by Argel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |