From: Patrick Li Date: 2008-08-20T06:48:44+09:00 Subject: Re: Serializable Proc > You mean where the closure would point to the same variable after > being reloaded? I'm not sure how that's going to work. Yes. ie. a = 3 p = lambda{a} Marshal.dump(p, File.open("myProc.proc", "w") so that I can go p = Marshal.load(File.open("myProc.proc", "r")) p[] #should print 3 The 'connections' between variables should be saved. As well as the values of the variables currently in the closure. -- Posted via http://www.ruby-forum.com/.