in reply to Re: Some Insights from a Traveler Between Languages
in thread Some Insights from a Traveler Between Languages
The problem with that length() statement is that people have gotten used to the "Do What I Mean" principle of Perl. The array is doing what it thinks you mean by returning the number of its elements. The length() function, however, is selfish and doesn't really care what you mean. :p