"Octavian Rasnita" <orasn...@gmail.com> writes: > From: "Daniel Kluev" <dan.kl...@gmail.com> > a = [1,2] > dict([a]) > > Yes, but > > d = dict([a]) > > is not so nice as > > $d = @a;
That will give you the number of elements in @a. What you (probably) mean is %hash = @array; -- 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