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

@ -59,7 +59,7 @@ my @ruleSets = (
my @url2 = @ruleSets;
while (my $spec = shift @url2) {
my ($bucket, undef, $regexp) = @{ $spec };
WebGUI::PassiveAnalytics::Rule->create($session, { bucketName => $bucket, regexp => $regexp });
WebGUI::PassiveAnalytics::Rule->new($session, { bucketName => $bucket, regexp => $regexp });
}
my @urls = map {$_->[1]} @ruleSets;