[Sitesampler-submitinfo] sitesampler/SiteSampler/Report Base.pm,1.8,1.9
Brought to you by:
alfarid23,
shanehill00
|
From: Shane H. <sha...@us...> - 2005-07-22 03:42:55
|
Update of /cvsroot/sitesampler/sitesampler/SiteSampler/Report In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29972/SiteSampler/Report Modified Files: Base.pm Log Message: changes to the SiteSampler::Agent object such that the report object returned from the report method is the same object returned from the report method of the project object. also removed some extraneous stuff from the schema sql file added the ability to fork the processing of stats off to its own process if necessary Index: Base.pm =================================================================== RCS file: /cvsroot/sitesampler/sitesampler/SiteSampler/Report/Base.pm,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Base.pm 18 Jul 2005 01:36:38 -0000 1.8 --- Base.pm 22 Jul 2005 03:42:17 -0000 1.9 *************** *** 5,8 **** --- 5,9 ---- use HTML::Template; use DB_File; + # use BerkeleyDB; use SiteSampler::Object; use base qw(SiteSampler::Object); *************** *** 33,38 **** if(exists $hash_type{tied}){ my $cache_path = $hash_type{tied}; ! tie(%$cache, "DB_File", $cache_path) ! or die("Cannot open file $cache_path: $!\n"); } return($cache); --- 34,44 ---- if(exists $hash_type{tied}){ my $cache_path = $hash_type{tied}; ! =cutcode ! tie %$cache, "BerkeleyDB::Btree", ! -Filename => $cache_path, ! -Flags => DB_CREATE ! or die "Cannot open file $cache_path: $! $BerkeleyDB::Error\n" ; ! =cut ! tie(%$cache, "DB_File", $cache_path) or die("Cannot open file $cache_path: $!\n"); } return($cache); |