perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <torsten.foert...@gmx.net>
Subject Re: simplify mod_perl.c a bit
Date Sun, 04 Apr 2010 12:34:01 GMT
On Friday 02 April 2010 22:40:43 Philippe M. Chiasson wrote:
> In ANSI C you can't define variables in blocks, like
> 
> int foo(void) {
>   int a = 2;
>   some code
>   {
>     int b = 3;
>     more code
>   }
> 
Although I am sure that ANSI C does allow for that I committed your version.
K&R C didn't. But K&R C didn't allow for function parameters to be declared in 
parentheses.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message