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 );
18 my $text = dbh->sprintProfile();
19 #my $text = $wrapper->wrap( dbh->sprintProfile() );
23 encode_entities( $text ).
24 #"\n\n". &sprintAutoProfile(). '</PRE>';
28 dbh->{'private_profile'} = {};
31 s/(<\/BODY>[\s\n]*<\/HTML>[\s\n]*)$/$profile$1/i;