On Sat, Mar 14, 2009 at 01:06, Chap Harrison <c...@pobox.com> wrote: > > On Mar 13, 2009, at 7:52 AM, Jenda Krynicky wrote: > >> That's prettymuch it, except that it's not an array of aliases, but >> LIST of aliases. The difference is subtle, but important. >> See http://perldoc.perl.org/perlfaq4.html#What-is-the-difference- >> between-a-list-and-an-array%3f and >> http://www.perlmonks.org/?node_id=130861 > > Thanks - I've read the FAQ several times in the past without really getting > it, but the perlmonks thread looks promising. It IS subtle, all right. :-/ snip
The eureka moment for me was when I realized that lists are a data type (like number or string) and arrays and hashes are containers that hold that data type. Once you realize that it is easy to see why they have different behaviours. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/