[Xapian-devel] Error handling in the bindings

Olly Betts olly at survex.com
Thu Mar 8 21:24:36 GMT 2007

On Thu, Mar 08, 2007 at 08:19:39PM +0000, Richard Boulton wrote:
> Ah - the rustyness in question was not being able to work out how to 
> separate the list of exceptions (and the inheritance hierarchy) into a 
> separate file with perl.  I'll have to look up how to do imports and 
> things in Perl again, but I imagine it's possible.  Hints welcome. ;-)

Call the module "foo.pm" and put "use foo;" at the start of scripts.
Note "foo.pm" should end with "1;" because this is perl so it has to be
weirdly cryptic (I think this signals "module successfully parsed" to
the script which does "use", or something like that).


More information about the Xapian-devel mailing list