Front page | perl.perl5.porters |
Postings from September 2002
Re: Collections
Thread Previous
|
Thread Next
From:
Slaven Rezic
Date:
September 30, 2002 04:58
Subject:
Re: Collections
Message ID:
871y7c3sij.fsf@vran.herceg.de
Brian Ingerson <ingy@ttul.org> writes:
> On 29/09/02 22:57 +0200, Slaven Rezic wrote:
> > Brian Ingerson <ingy@ttul.org> writes:
> > > Something like the MD5 sum of a Storable serialization might work as a first
> > > cut. Hash key order would need to be canonical. Not sure if
> > > Storable's is.
> >
> > With $Storable::canonical set to true, it is.
>
> Whee! Cool. I'll RTFM next time :)
>
> I guess this opens up issues for Storable serialization. It will also be
> interesting to know how to sort complex keys for use as other complex keys.
>
The serialized string of the complex key could be used for sorting.
Regards,
Slaven
--
Slaven Rezic - slaven.rezic@berlin.de
tkrevdiff - graphical display of diffs between revisions (RCS or CVS)
http://ptktools.sourceforge.net/#tkrevdiff
Thread Previous
|
Thread Next