Permalink
Browse files

Return from parse

  • Loading branch information...
genehack committed Apr 12, 2012
1 parent 44578cb commit 86e2dea897eafb517731826c7ad87be044a533b6
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/Message/Stack/Parser/DataVerifier.pm
@@ -18,9 +18,8 @@ use Message::Stack::Message;
my $scope = 'login';
# Pass a Data::Verifier::Results object to parse.
- my $ms = Message::Stack;
- Message::Stack::Parser::DataVerifier->parse(
- $ms,
+ my $ms = Message::Stack::Parser::DataVerifier->parse(
+ Message::Stack->new,
$scope,
$dv_results
);
@@ -98,6 +97,8 @@ sub parse {
params => [ $results->get_original_value($f), $results->get_field($f)->reason ],
));
}
+
+ return $stack;
}
1;

0 comments on commit 86e2dea

Please sign in to comment.