in reply to Testing for definition of references
Use of "defined" on aggregates (hashes and arrays) is deprecated. It used to report whether memory for that aggregate has ever been allocated. This behavior may disappear in future versions of Perl. You should instead use a simple test for size
HTH...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Testing for definition of references
by DBX (Pilgrim) on Jun 26, 2003 at 18:18 UTC | |
by jsprat (Curate) on Jun 26, 2003 at 18:25 UTC |