in reply to Re: Confused about typeglobs and references
in thread Confused about typeglobs and references
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Confused about typeglobs and references
by chromatic (Archbishop) on Nov 04, 2002 at 22:56 UTC | |
|
Re: Re: Confused about typeglobs and references
by Ovid (Cardinal) on Nov 04, 2002 at 23:02 UTC |