Convert PassiveAnalytics over to Moose.

This commit is contained in:
Colin Kuskie 2010-11-10 10:05:07 -08:00
parent 882317c2c9
commit 9832f38a93
4 changed files with 27 additions and 60 deletions

View file

@ -72,8 +72,8 @@ sub execute {
my @rules = ();
my $getARule = WebGUI::PassiveAnalytics::Rule->getAllIterator($session);
while (my $rule = $getARule->()) {
my $regexp = $rule->get('regexp');
push @rules, [ $rule->get('bucketName'), qr/$regexp/];
my $regexp = $rule->regexp;
push @rules, [ $rule->bucketName, qr/$regexp/];
}
##Get the index stored from the last invocation of the Activity. If this is