Tom Tucker <suppressed> wrote:
> As usual, DOH!
>
> I was naming the CodeDef sub while the code_def routine in Util.pm code
> looks to be expecting an anonymous subroutine that it stores in the
> namespace with the name specified in CodeDef. My routine was thus never
> being called at all.
>
D'oh! I didn't spot that either.
>
> Works now. Just follow the template in catalog.cfg precisely and you
> will avoid the same frustration.
>
There's an example in the docs too:
http://www.interchange.rtfm.info/icdocs/Interchange_search_engine.html#Custom_search_operators_using_SearchOp
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ suppressed
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.