* Thomas Maier <[email protected]> [2012-03-07 00:38]: > Hi David, > Mixed data types in nested data structure are possible in Perl as well: > %hash = (); > $hash{'mylist'} = [1,2,3]; > $hash{'mystring'} = 'string'; > $hash{'mynum'} = 4; > $hash{'anotherhash'} = {}; > $hash{'anotherhash'}{'anotherstring'} = 'string2'; > > Thomas
Hah. Fair enough :-) -- David Rock [email protected]
pgpszglXkVXly.pgp
Description: PGP signature
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
