In which release did the defined function start returning false for arrays that have not held any items (or have had undef called on them)?
In which release did the defined function start returning false for arrays that have
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That’s how it works on Perl 4 (I found some docs and interpreters for 4.036 here).
And that’s how it appears to be in the documentation for Perl 3.044
(update: and Perl 3.000).
As the
definedkeyword does not appear to be part of the language in version 2 (man pages here and here), it looks like the answer to your question is Perl 3.000.If I get any of these older versions built and running, I’ll confirm.