Quoting Dale Amon:
:Over the weekend I tossed together an Archiver class and a root Object
:class to provide default behavior. It is really quick and dirty and
:the output files are rather wordy, and it doesn't handle a number
:of Perl types, but it does allow objects with scalars, pointers to
:object, arrays and hashes to be written to disk by one program
:and read in by another. Of course if the other program doesn't
:impliment the code your object won't bless, but hey... it's only
:a weekend's work :-)
If your archiver is written in Perl, then it will hardly have decent
speed for 1Mb and more data. I've implemented both a C and a Perl
version of persistant objects, and apparently, C beats Perl by a
speed factor of 20, if not more.
Have you looked at my Storable-0.1 extension, on CPAN? If not, please
do. It looks like you're re-inventing the wheel again.
How many distinct persistant object packages do we want?
Raphael
P.S.: BTW, Gurusamy, I'm still waiting for your code to integrate it into
Storable-0.1...
P.P.S: We should really agree on a set of minimal features required for
persistency and stick with it. Then make the Storable extension (or
whatever it gets named) part of standard Perl. Based on the amount of
people getting the same thing done again and again, there is surely
a need that need to get filled up, quickly.
:Over the weekend I tossed together an Archiver class and a root Object
:class to provide default behavior. It is really quick and dirty and
:the output files are rather wordy, and it doesn't handle a number
:of Perl types, but it does allow objects with scalars, pointers to
:object, arrays and hashes to be written to disk by one program
:and read in by another. Of course if the other program doesn't
:impliment the code your object won't bless, but hey... it's only
:a weekend's work :-)
If your archiver is written in Perl, then it will hardly have decent
speed for 1Mb and more data. I've implemented both a C and a Perl
version of persistant objects, and apparently, C beats Perl by a
speed factor of 20, if not more.
Have you looked at my Storable-0.1 extension, on CPAN? If not, please
do. It looks like you're re-inventing the wheel again.
How many distinct persistant object packages do we want?
Raphael
P.S.: BTW, Gurusamy, I'm still waiting for your code to integrate it into
Storable-0.1...
P.P.S: We should really agree on a set of minimal features required for
persistency and stick with it. Then make the Storable extension (or
whatever it gets named) part of standard Perl. Based on the amount of
people getting the same thing done again and again, there is surely
a need that need to get filled up, quickly.