On Tue, May 24, 2011 at 5:00 PM, Octavian Rasnita <orasn...@gmail.com> wrote: > And you are telling that in Perl should be used an even more complicated and > ugly syntax just for beeing the same as in Python just for showing that I am > wrong, but I was comparing just the shortness and cleraness of the code. > > So, again, in Perl is just: > > %d = @l;
Once again. Suppose we have array of key-value pairs (two-dimensional array), `l`. In python, converting it to dict is as simple as d = dict(l). In perl, %d = @l; produces meaningless value. Following your logic, this means that perl has ugly syntax. -- With best regards, Daniel Kluev -- http://mail.python.org/mailman/listinfo/python-list