perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DeWitt Clinton <dew...@unto.net>
Subject Re: transient object data
Date Sat, 22 Dec 2001 14:19:19 GMT
On Sat, Dec 22, 2001 at 06:11:33AM -0800, brian moseley wrote:

> doesn't it seem like there should be a way to denote object
> data as transient so that it doesn't get serialized by
> Storable, etc?

I'd love that as well.  For example, when persisting Cache::Object
instances I manually strip out transient (in this case, it is
re-creatable) data such as the name of the key and the size of the
object, in order to save space in storage.

Sounds like Perl 6 needs a generic notion of Serializable.  

-DeWitt


Mime
View raw message