[Rt-devel] BUG in ParseQuery ?

Todd Chapman todd at chaka.net
Wed Nov 9 16:01:28 EST 2005


In Search/Build.html is sub ref ParseQuery with
these lines:

    my $string  = shift;
    my $tree    = shift;
    my @actions = shift;
    my $want    = KEYWORD | PAREN;
    my $last    = undef;

Shouldn't @actions be $actions, a ref to an array?
The sub goes on to push value onto the arrary but
the new values won't be seen outside the sub.

If I am correct, it is easy to fix, but then shows
shows a deeper bug in the sub.

-Todd



More information about the Rt-devel mailing list