Opened 6 hours ago

#841 new defect

set_metadata unnecessarily strict in Perl bindings

Reported by: Eric Wong Owned by:
Priority: normal Milestone:
Component: Xapian-bindings (Perl) Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

Calls which expect automatic integer to string conversion no longer works with the SWIG Xapian.pm bindings:

my $num = 6; $xdb->set_metadata("key", $num);

The old Search::Xapian bindings worked fine, and most Perl users expect auto-conversion from integers to strings. It would be easier for Perl users to auto-convert numeric values to the string type. Thanks.

Change History (0)

Note: See TracTickets for help on using tickets.