J
jps
The single biggest STUPIDITY in Perl, IMO, is that it does not
implement proper list-of-list, list-of-hash, hash-of-list & hash-of-
hash structures.
If -for example- you could just write
my @list = ((1,2),(3,4));
to get a 2x2 matrix (rather than 4-element list) I think the code
could be soooo much more elegant, and easier to write in a much more
readable fashion.
I believe you could then eliminate some 99% of all references that you
see in actual Perl-code -- them all sitting there only as a dreaded
workaround for this profound defect of the language.
Or am I missing something here?
Is this, by any chance, being fixed in Perl6, btw?
implement proper list-of-list, list-of-hash, hash-of-list & hash-of-
hash structures.
If -for example- you could just write
my @list = ((1,2),(3,4));
to get a 2x2 matrix (rather than 4-element list) I think the code
could be soooo much more elegant, and easier to write in a much more
readable fashion.
I believe you could then eliminate some 99% of all references that you
see in actual Perl-code -- them all sitting there only as a dreaded
workaround for this profound defect of the language.
Or am I missing something here?
Is this, by any chance, being fixed in Perl6, btw?