You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/11/11 14:21:30 UTC
Re: cvs commit: modperl-2.0/t/response/TestDirective perlloadmodule.pm
gozer@apache.org wrote:
> gozer 2004/11/10 23:51:04
>
> Modified: t/response/TestDirective perlloadmodule.pm
> Log:
> Debugging should remain commented out. My bad.
There is a better way:
> Revision Changes Path
> 1.8 +1 -1 modperl-2.0/t/response/TestDirective/perlloadmodule.pm
>
> Index: perlloadmodule.pm
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/t/response/TestDirective/perlloadmodule.pm,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -u -r1.7 -r1.8
> --- perlloadmodule.pm 9 Nov 2004 05:44:15 -0000 1.7
> +++ perlloadmodule.pm 11 Nov 2004 07:51:03 -0000 1.8
> @@ -66,7 +66,7 @@
use Apache::TestTrace;
> sub SERVER_CREATE {
> my($class, $parms) = @_;
> - warn "$class->SERVER_CREATE\n";
> +# warn "$class->SERVER_CREATE\n";
debug "$class->SERVER_CREATE\n";
Now when you run:
t/TEST -trace=debug ...
you will get the debugging on. no need to remember to turn it on off
manually and one can ask users to run this to get the debug output w/o
modifying the tests.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org