[Catalyst-dev] [Patch] Better $elapsed==0 handling.

Brian Cassidy brian.cassidy at nald.ca
Thu Jul 19 12:48:55 GMT 2007


Emanuele Zeppieri wrote:
> The obvious correction is to substitute the above mentioned line with:
> 
> my $av = $elapsed == 0 ? '??' : sprintf '%.3f', 1 / $elapsed;
> 
> Patch (against Catalyst.pm in trunk -- Revision 6575) attached, if 
> necessary.

Applied -- rev 6581. Thanks!

-Brian



More information about the Catalyst-dev mailing list