in reply to Re: Favourite modules March 2004
in thread Favourite modules March 2004

Clone::PP is helpful. The most common things I clone are DateTime objects.

But DateTime has a clone() method! Why not use that?

Replies are listed 'Best First'.
Re: Favourite modules March 2004
by jonadab (Parson) on Mar 10, 2004 at 13:53 UTC
    But DateTime has a clone() method! Why not use that?

    Oh, so it does. Cool. Well, mark that as one less use for Clone::PP from now on (though of course it'll still be useful for other stuff) :-)


    ;$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$;[-1]->();print