Hi guys

I can't get my head around this. Obj is a fairly big object, quite a bit
nested.

When I do

temp = Marshal.dump(Obj)
Marshal.load(temp)

I get an error on load (wrong character). Now when I do:

Marshal.dump(Obj)
temp = Marshal.dump(Obj)
Marshal.load(temp)

(just dumping twice the exact same thing) it works fine.

Ruby 1.9.2 and 1.9.3.

Do you know if I am missing something?

Thanks!
PJ

-- 
Posted via http://www.ruby-forum.com/.