At 11:01 PM 8/9/00 -0500, Jonathan Scott Duff wrote:
>On Wed, Aug 09, 2000 at 11:46:12AM -0500, Garrett Goebel wrote:
> > From: Peter Scott [mailto:[EMAIL PROTECTED]]
> > >
> > > >I would like deep copying to include copying CODE. It would
> > > >be useful for implementing object methods...
> > >
> > > Why would it be necessary to deep copy a CODE reference?
> >
> > It might not be necessary. I'm still learning how to write kosher Perl...
> > elegance is a long way off for me.
>
>Imagine storing your code along with your data in a database for use
>later (persistent objects)

Imagine being able to freeze your program to disk for later use, or being 
able to serialize an object and all the code and data it has access to to 
disk. (Or the network...)


                                        Dan

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

Reply via email to