[Xapian-discuss] error in Xapian::Search

Olly Betts olly at survex.com
Wed Mar 5 00:41:12 GMT 2008


On Tue, Mar 04, 2008 at 10:13:13PM +0200, Ron Kass wrote:
> Note that line 56 is simply returning $self->get_mset1( @_ )
> 
> Both $self has value (Enquire object: 
> Xapian::Enquire=SCALAR(0x14d04790)) and @_ which is 3 in our case.
> 
> Despite the error, a proper result set is returned. So its not very clear.

Erm, @_ can't be (3) as that would croak since Enquire::get_mset()
requires at least 2 parameters.  So I think you've (probably implicitly)
printed scalar(@_) and all we now know is that it has 3 elements.  But
what are those elements?  And is one of them undefined?

Cheers,
    Olly



More information about the Xapian-discuss mailing list