Andreas,
Yes, I did look at Storable::dclone. Clone::clone was degined
to be called as a method, just add Clone to a package @ISA. It
also allows the user to specify a depth of copy, and it's also
~2.5 times faster than dclone.
-------------------------------------------------------------
Ray Finch [EMAIL PROTECTED]
Classmates.com Tel: (206) 901-0843 x25
16300 Christensen Road, Suite 250 Fax: (206) 241-1780
Seattle, WA 98188-3418 (USA)
On 21 May 2000, Andreas J. Koenig wrote:
> >>>>> On Fri, 19 May 2000 17:14:35 -0700 (PDT), ray <[EMAIL PROTECTED]> said:
>
> > Hello,
> > I would like to contribute an XSUB module I wrote to clone a nested hash
> > or array object. It can be called either as a function or method and allows
> > the depth of the copy to be specified. Simple benchmarking of the application
> > I had written it for gave a 5 time speed increase over similar code written
> > in perl. The following is a description in module list format:
>
> > Name DSLI Description Info
> > ------------- ---- -------------------------------------------- -----
> > Clone idch Recursive copy of nested objects RDF
>
> And compared to e.g. Storable::dclone(), have you compared?
>
> --
> andreas
>
>