From 066ce188081f87389112210de752446f5d6257c5 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 4 Feb 2006 11:55:05 +0000 Subject: passa i test sui valori con recall esatto, non con recall over git-svn-id: svn://luxion/repos/WebCoso/trunk@147 fcb26f47-9200-0410-b104-b98ab5b095f3 --- lib/WebCoso/Resource.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/WebCoso/Resource.pm b/lib/WebCoso/Resource.pm index 27bad65..b881e18 100644 --- a/lib/WebCoso/Resource.pm +++ b/lib/WebCoso/Resource.pm @@ -60,7 +60,9 @@ sub _populate_axes_from { sub _genkey { my ($axes_spec)=@_; - return '1'; + my $key=join "\000",map {$_."\001".$axes_spec->{$_}} sort keys %$axes_spec; + + return $key; } } -- cgit v1.2.3