Begin forwarded message: > From: Guest via RT <[EMAIL PROTECTED]> > Date: Sat Sep 28, 2002 05:45:17 Europe/London > To: 'AdminCc of cpan Ticket #1579': ; > Subject: [cpan #1579] SimpleTaglib Documention (at least) unclear > Reply-To: [EMAIL PROTECTED] > > > > This message about AxKit was sent to you by guest via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=1579 > > > This regards Apache::AxKit::Language::XSP::SimpleTaglib. The doc says > > The called subs get passed 3 parameters: The parser object, > the tag name, and an attribute hash. This hash only contains... > > whereas when I do > > sub blog : attribOrChild... { > return << 'EOC'; > warn "params ".Dumper (\@_); > ... > EOC > > I see in the logs > > params $VAR1 = [ > bless( do{\(my $o = 146526668)}, 'AxKit::Apache' ), > bless( do{\(my $o = 135610372)}, 'Apache::Request' ), > bless( do{\(my $o = 148471176)}, 'XML::LibXML::Document' ) > ]; > > I only see the current attributes when I do > > sub blog : attrib(....) { > warn "params ".Dumper (\@_); > return << 'EOC'; > ... > EOC > > which somehow contradicts the documented model that the __returned__ > code is supposed to be executed at request time. > > Slightly confused. > > \rho >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
