Re: exists and defined--not just for hashes anymore

2003-08-27 Thread Randal L. Schwartz
> "Jeff" == Jeff 'Japhy' Pinyan <[EMAIL PROTECTED]> writes: Jeff> On Aug 26, Paul Archer said: >> Just a quick tip, which the docs mention that 'exists' and 'defined' will >> let you know if a particular element of a hash exists, or is defined, they >> work on arrays just as well. Jeff> Yeah,

Re: exists and defined--not just for hashes anymore

2003-08-27 Thread Jeff 'japhy' Pinyan
On Aug 26, Paul Archer said: >Just a quick tip, which the docs mention that 'exists' and 'defined' will >let you know if a particular element of a hash exists, or is defined, they >work on arrays just as well. Yeah, but I really think the semantics of them on arrays is iffy. I don't use them on

exists and defined--not just for hashes anymore

2003-08-27 Thread Paul Archer
Just a quick tip, which the docs mention that 'exists' and 'defined' will let you know if a particular element of a hash exists, or is defined, they work on arrays just as well. (I didn't know that, but a student today asked, so I tried it out.) Paul -- To unsubscribe, e-mail: [EMAIL PROTECTED]