[rt-users] MasonX::Profiler

Autrijus Tang autrijus at autrijus.org
Sat Nov 27 03:13:26 EST 2004


On Sat, Nov 27, 2004 at 12:55:25AM -0500, Stan wrote:
> bash-3.00$ grep Mason RT_SiteConfig.pm
> # @MasonParameters is the list of parameters for the constructor of
> # HTML::Mason's Apache or CGI Handler.  This is normally only useful
> #     (preamble => 'my $p = MasonX::Profiler->new($m, $r);');
> #@MasonParameters = () unless (@MasonParameters);
> @MasonParameters = (preamble => 'my $p = MasonX::Profiler->new($m, $r);');

Well, the RT_Config.pm did say:

#     use MasonX::Profiler; # available on CPAN

right above the preamble line.  So just uncommenting that line and put
it to RT_SiteConfig.pm will do. :)

Alternatively, add this line:

    PerlModule MasonX::Profiler

in your httpd.conf.

Thanks,
/Autrijus/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20041127/b98f5378/attachment.sig>


More information about the rt-users mailing list