[perl-python] 20050118 keyed list

Tassilo v. Parseval tassilo.von.parseval at rwth-aachen.de
Tue Jan 18 18:14:18 CET 2005

Also sprach Jürgen Exner:

> Xah Lee wrote:

>> © %a = ('john',3, 'mary', 4, 'jane', 5, 'vicky',7);
>> © use Data::Dumper qw(Dumper);
>> © print Dumper \%a;
> Wow, my compliments. The very first time that using Data::Dumper actually 
> may do something useful (formats the data more nicely). Still, why you are 
> passing a reference is beyond me.

How else would you use 'Dumper' on a hash?


More information about the Python-list mailing list