Am Sam, 2003-03-29 um 12.48 schrieb Tom Schindl: > Hi, > > I don't understand how the options in TaglibHelper work. > What's wrong with the code below?
Found it my self. @EXPORT_TAGLIB = ( 'getChart():as_xml=1' ); Still an example in the man page would be nice. > > ---------------------cut--------------------- > package Axkit::Bestsolution::Standing; > > $NS = 'http://bestsolution.at/xsp/sports/standing'; > > @EXPORT_TAGLIB = > ( > 'getChart()' > ); > > use Apache::AxKit::Language::XSP::TaglibHelper; > @ISA = qw( Apache::AxKit::Language::XSP::TaglibHelper ); > > use strict; > > sub getChart():as_xml=true > { > return "<hello>HELLO WORLD</hello>"; > } > ---------------------cut--------------------- > > thx > > tom -- Tom Schindl <[EMAIL PROTECTED]> bestsolution.at --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
