in reply to Arrays are not lists

Wow.... How did I grind away at Perl for weeks, and read more than one excellent book, without realizing that arrays are not lists? I've fixed several errors caused by this misconception without figuring out why the original code failed. This explanation will go a long way toward getting me off my blood pressure medication.

Replies are listed 'Best First'.
RE: RE: Arrays are not lists
by tilly (Archbishop) on Aug 05, 2000 at 19:28 UTC
    Perl actually stands for Pathologically Eclectic Rubbish Lister, but don't tell anyone I said that.

    -- (BUGS section of "perldoc perl")

    Here is my theory.

    Perl is a list-oriented language. Widely known and (un)popular languages like VB, Pascal, C (and derivatives) generally are not. Therefore the list-oriented features of Perl tend to be downplayed by both authors and programmers, leading to much confusion.

    Make sense?