Terry Reedy <tjre...@udel.edu> writes: > I forget the exact question you asked, but this list is not the > doc. The doc section on dicts gives dict(list_of_key_value_pairs) as > the one true way, given such an input. The Perl way cannot be clearer > and can only be shorted if it uses something shorter that dict().
my %hash = @list_of_key_value_pairs; -- John Bokma j3b Blog: http://johnbokma.com/ Perl Consultancy: http://castleamber.com/ Perl for books: http://johnbokma.com/perl/help-in-exchange-for-books.html -- http://mail.python.org/mailman/listinfo/python-list