projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86e52a9
)
more robust _hash_eq
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 3 Apr 2011 19:54:30 +0000
(21:54 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 3 Apr 2011 19:54:30 +0000
(21:54 +0200)
lib/MojoFacets/Changes.pm
patch
|
blob
|
history
diff --git
a/lib/MojoFacets/Changes.pm
b/lib/MojoFacets/Changes.pm
index
ef23ef5
..
ca22b4e
100644
(file)
--- a/
lib/MojoFacets/Changes.pm
+++ b/
lib/MojoFacets/Changes.pm
@@
-21,7
+21,7
@@
sub _hash_eq {
warn "# _hash_eq ",dump($a_ref,$b_ref);
local $Storable::canonical = 1;
- return
Storable::freeze( $a_ref ) eq Storable::freeze( $b_ref )
;
+ return
eval { Storable::freeze( $a_ref ) } eq eval { Storable::freeze( $b_ref ) }
;
}
sub index {