diff spy.pl @ 298:b3b845d30d4b

new cache mechanism
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sun, 07 Dec 2008 16:40:04 +0800
parents 10f14db31151
children ff8db948e1a1
line wrap: on
line diff
--- a/spy.pl	Sun Dec 07 15:12:33 2008 +0800
+++ b/spy.pl	Sun Dec 07 16:40:04 2008 +0800
@@ -11,8 +11,7 @@
 # $i->check();
 foreach (glob("city-*-dump.yaml")) {
     my $city = LoadFile($_);
-    $i->{'cities'}->{$city->{id}} = $city;
- 
+    # $i->{'cities'}->{$city->{id}} = $city;
     my $spydata = $i->checkSafeHouse($city->{id});
     foreach (keys(%{$spydata})) {
         DumpFile("spy-$_-dump.yaml", $spydata->{$_});