3 dbh->{'private_profile'} = {} if UNIVERSAL::can(dbh, 'sprintProfile');
8 if ( UNIVERSAL::can(dbh, 'sprintProfile') ) {
10 if ( lc($r->content_type) eq 'text/html' ) {
12 # barely worth it, just in case someone tries to use profiling on a
14 eval "use Text::Wrapper;";
17 my $wrapper = new Text::Wrapper( columns => 80 );
20 encode_entities( $wrapper->wrap( dbh->sprintProfile() ) ).
21 #"\n\n". &sprintAutoProfile(). '</PRE>';
25 dbh->{'private_profile'} = {};
28 s/(<\/BODY>[\s\n]*<\/HTML>[\s\n]*)$/$profile$1/i;