perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Jones <ra.jo...@dpw.clara.co.uk>
Subject Re: Problem with perl-status memory usage
Date Wed, 19 Sep 2007 17:35:17 GMT
Perrin Harkins wrote:
> On 9/14/07, RA Jones <ra.jones@dpw.clara.co.uk> wrote:
>> Yes, user 'nobody' gets a display on 'cat
>> /opt/lampp/lib/perl5/site_perl/5.8.7/Devel/Symdump.pm'
> 
> Okay, can you try making your own mod_perl handler that loads
> Devel::Symdump and see if it works?
> 

Sorry it's taken a while. A simple handler:

   require Devel::Symdump;

   my $obj = Devel::Symdump->new( 'DBI' );

   print "Content-type: text/html\n\n;
   print Dumper $obj;

   return Apache2::Const::OK;

gives me a nice Data::Dumper data structure in the browser window. It 
probably doesn't make much sense as programming logic as I don't 
normally use Devel::Symdump, but I guess it shows the module is OK?
-- 
Richard Jones

Mime
View raw message