Check out the new USENIX Web site.
[ActiveState] Pickling/Storable

Python data structures containing perl data structures can be pickled if the perlpickle module is loaded. It will register the needed types/functions with copy_reg.
  from cPickle import dump
  import perlpickle

  import perl
  x = [1,2,3,perl.array(range(3))]

  f = open("tmp.pic", "w")
  dump(x, f)

For unpickling nothing special need to be done:
  from cPickle import load

  f = open("tmp.pic")
  x = load(f)

 www.ActiveState.com 23/32 ««/\»»