From: matz@... (Yukihiro Matsumoto) Date: 2003-01-04T16:08:02+09:00 Subject: Re: Cyclic Marshals :: again the need for a built in creation parent method Hi, In message "Cyclic Marshals :: again the need for a built in creation parent method" on 03/01/04, Tom Sawyer writes: |okay, after way too many hours i was finally able to Marshal my objects and |overcome the cyclic references that caused a spiraling depth problem. |unfortunately it is not a general purpose solution. i could not figure a way |to do that. rather i created two methods, a #pre_dump methods that nil'd out |the specific cyclic references in my objects before the #Marshal.dump and a |#post_load method that restores them after the #Marshal.load. Hmm, marshal should handle cyclic references. Could you show us the example program that cause you a problem? matz.