At 09:37 AM 8/23/00 -0700, Larry Wall wrote:
>Dan Sugalski writes:
>: What I've been hoping for is:
>:
>: 1) The ability to dump the program and its current state out into something
>: that can be reloaded later. (Though filehandles and other
>: external-interface things make this tricky)
>:
>: 2) The ability to dump out a variable and all its attached state into
>: something that can be loaded in later somewhere else.
>
>Now all we have to do is make the program a variable, and the two
>requirements become one.

   freeze_dry &MAIN; :)

I was assuming that when you dumped an object all the anonymous code refs 
and lexically visible variables would get dumped, but package variables 
wouldn't, but that's simple enough to set with parameters, and it'd be 
useful to dump out all code that's visible to the object (all its methods 
and all the user code those methods refer to, perhaps).

A well-thought-out RFC sounds in order.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to