Am Tuesday, 01. July 2003 02:45, schrieb Robert Ferney: > On Sun, 2003-06-29 at 14:46, Matt Sergeant wrote: > > On Sunday, Jun 29, 2003, at 03:00 Europe/London, Robert Ferney wrote: > > >> From a taglib, is it possible to get to an apache object? > > > > > > Specificaly I need to look up some Perlvar set options. > > > > AxKit::Apache->request will give you the request object. > > Trying this and I'm not getting anything that makes sense. > The module gives me output, and does not crash, however, it's not the > results I expected. > > What am I missing here? > -Robert Ferney > > ---- Start code from Module ---- > package Test::XSP::DBI; > use Apache::AxKit::Language::XSP::TaglibHelper; > use Data::Dumper; > > $NS = "http://ferney.org/test/xsp/dbi/"; > > @EXPORT_TAGLIB = ( > 'request()', > ); > > @ISA = qw( Apache::AxKit::Language::XSP::TaglibHelper ); > > use strict; > > sub request > { > my $self = {}; > my $r = AxKit::Apache->request(); > > # From the .htaccess file > # PerlSetVar AxKit_DBI_table users > > if ($r) > { > $self->{'table'} = $r->dir_config('AxKit_DBI_table'); > }
Are you sure your .htaccess/httpd.conf contains "PerlSetVar AxKit_DBI_table"? Note that case matters. -- CU Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
