The solution is simple: return hashes instead of lists.
Hash ref, I may hope?
localtime-{year}
-- Johan
On Sun, Aug 06, 2000 at 06:37:12AM +1000, Damian Conway wrote:
The solution is simple: return hashes instead of lists.
I still think returning lists *or* hashrefs according to context gives
the same benefits *plus* backwards compatibility.
I sent v2 before I saw just suggestion...wait
This and other RFCs are available on the web at
http://tmtowtdi.perl.org/rfc/
=head1 TITLE
Positional Return Lists Considered Harmful
=head1 VERSION
Maintainer: Jarkko Hietaniemi [EMAIL PROTECTED]
Date: 05 Aug 2000
Version: 2
Mailing List: [EMAIL PROTECTED]
Number: 37
=head1
The solution is simple: return hashes instead of lists.
I still think returning lists *or* hashrefs according to context gives
the same benefits *plus* backwards compatibility.
Damian