MasonX::Profiler + standalone web server

Can someone give me a hint on how to get MasonX::Profiler to work with the
standalone web server?

Thanks,
Steve

Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)

At Wednesday 11/30/2005 11:26 AM, Stephen Turner wrote:

Can someone give me a hint on how to get MasonX::Profiler to work with the
standalone web server?

Thanks,
Steve

I figured this out. I modified lib/RT/Interface/Web/Standalone.pm :

  • added ‘use MasonX::Profiler;’ at the top

  • added additional argument to the call to RT::Interface::Web::Handler->new
    in the new_handler method.

       preamble => 'my $p = MasonX::Profiler->new($m, $r);',
    

Steve

At Wednesday 11/30/2005 11:26 AM, Stephen Turner wrote:

Can someone give me a hint on how to get MasonX::Profiler to work with the
standalone web server?

Thanks,
Steve

I figured this out. I modified lib/RT/Interface/Web/Standalone.pm :

  • added ‘use MasonX::Profiler;’ at the top

  • added additional argument to the call to RT::Interface::Web::Handler->new
    in the new_handler method.

       preamble => 'my $p = MasonX::Profiler->new($m, $r);',
    

I think you can do the same from the RT config.

Steve


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at http://bestpractical.com/services/training.html

Best regards, Ruslan.