develooper Front page | perl.perl5.porters | Postings from March 2013

Re: [rt.cpan.org #84256] Bleadperl v5.17.9-201-g3078e10 breaks SHARYANTO/Data-Schema-0.135.tar.gz

Thread Previous
From:
ilmari
Date:
March 28, 2013 14:52
Subject:
Re: [rt.cpan.org #84256] Bleadperl v5.17.9-201-g3078e10 breaks SHARYANTO/Data-Schema-0.135.tar.gz
Message ID:
d8jhajvo9um.fsf@dalvik.ping.uio.no
demerphq <demerphq@gmail.com> writes:

> I'd say this code only worked by chance anyway. The whole idea of
> using Storable::freeze() as the basis of deduping things seems to me
> to be fraught with error. The solution would be to use something like
> Data::Dumper instead, with Sortkeys enabled.

Storable has an equivalent: $Storable::canonical.

https://metacpan.org/module/Storable#CANONICAL-REPRESENTATION

-- 
"The surreality of the universe tends towards a maximum" -- Skud's Law
"Never formulate a law or axiom that you're not prepared to live with
 the consequences of."                              -- Skud's Meta-Law


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About