I get the following error:

  Can't locate object method "lookup" via package "Apache::Directive" at
  /webcontent/dev.mycardmaker.com/lib/perl/Doodlelab/Apache/Test.pm line 4.


when I try to start Apache.


Here is the entire contents of Test.pm



BEGIN {
        use Apache::Directive;
        my $tree = Apache::Directive->conftree();
        foreach my $node ( $tree->lookup('PerlSetVar') ) {
                # I want to do something here.
        }
}

1;

--
------------------------------------------
Matisse Enzer
Hamilton Partners
707-431-4300 ext. 212 (office)
415-225-6703 (mobile)

Reply via email to