You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by John Saylor <js...@liaison-intl.com> on 2007/03/13 16:15:08 UTC

perl-status not reporting anything

hi

i'm doing some debugging with Apache::Status and coming up to an
obstacle. i have 2 modules- one of which works and one doesn't and i'm
having a hard time figuring out what's going on.

here's the top part of the testing module:
package ZZ::testing;

use strict;
use warnings;

use Apache::Constants qw( :common );


sub date_handler
{
  my $r = shift;

  [rest of handler omitted]


and here's the top part of the getAccount module:
package ZZ::getAccount;

use strict;
use warnings;

use Mail::Sendmail;
use HTML::Template;
use Apache::Constants qw( :common );

use ZZ::DBCon;

sub lost_password
{

  my $r = shift;

  [rest of handler omitted]


now with the URL /perl-status?ZZ::testing, i get a report on all the
Apache::Constants exported by common and the date_handler subroutine.
but with the URL /perl-status?ZZ::getAccount i get blanks- nothing, no
functions at all even though the same Apache::Constants library is
imported.

is getAccount a reserved word or something?

any help is appreciated- thx.

--
\js