Hi list, Have spent the whole day trying to fight this:
How do you create, install, and load an XSP taglib, written as a Perl module? I've created a simple module like this: package Sporskiftet::XSP::Statistics; use AxKit2::XSP::TaglibHelper; @ISA = qw( AxKit2::XSP::TaglibHelper ); $NS = 'http://sporskiftet.dk/perl/xsp/statistics'; @EXPORT_TAGLIB = ( 'test($text):as_xml=1', ); sub test { my $text = shift; return "<page><title>$text</title></page>"; } 1; - and I've then spent the whole day trying to figure out where to put this module in order for Ax2 to find it; but it invariably complains Module cannot be loaded: Can't locate Sporskiftet::XSP::Statistics in @INC (@INC contains: lib /mnt/hgfs /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at lib/AxKit2/Config.pm line 1264, <$fh> line 47. in configuration file './etc/axkit.conf' line 47 Regards, Lars -- Lars Skjærlund Skovengen 111 2980 Kokkedal Denmark Tel.: +45 70 25 88 10 http://www.skjaerlund.dk/lars --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]