in reply to Re^3: Hash initialization works, but why?
in thread Hash initialization works, but why?

List and Array have very clear and distinct definitions in Perl.

List is a type of value.
Array is a type of variable.

You can't take the length of a list.
There's no such thing as a reference to a list.
There's no such thing as a list in scalar context.

Come to think of it, that's in the FAQ.

  • Comment on Re^4: Hash initialization works, but why?