|
Perl ref objects that encapsulate perl hash/array references provide methods compatible with python dictionaries/lists. hash.has_key(key) hash.keys() hash.values() hash.items() hash.clear() hash.copy() hash.get(key) hash.get(key, default) hash.update(mp) array.append(object) array.insert(index, object) array.extend(object) array.pop() array.pop(index) array.remove(object) array.index(object) array.count(object) array.reverse()Currently missing is array.sort() |
|