perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2 Patch] Make <Perl> sections strict by default
Date Thu, 01 Jul 2004 20:39:55 GMT
Philippe M. Chiasson wrote:
> 
> 
> Stas Bekman wrote:
> 
>> Philippe M. Chiasson wrote:
>> [...]
>>
>>>> Moreover now that I think about it I'm not quite sure why in the 
>>>> world someone will want to turn this feature on. Can you please 
>>>> remind me why was it added at all? If someone wants that badly then 
>>>> can just wrap the whole section in the eval {}  block.
>>>
>>>
>>>
>>> As far as I can tell/remember, this is simply a mp1 feature that I 
>>> wanted to
>>> preserve when porting the <Perl> code to mp2.
>>>
>>> I agree that it doesn't add much functionnality that an eval {} block 
>>> wouldn't
>>> allow (except maybe if the code _doesn't_ compile at all.
>>>
>>> How about this?
>>> - Implement PerlSectionsNonFatal = 1
>>> - Deprecate StrictPerlSections with a warning, unless MP_COMPAT_1X is 
>>> selected ?
>>
>>
>>
>> If we agree that it has no real added value then we don't want it at all.
> 
> 
> Unless somebody can come up with a good reason why we need it, I am quite
> happy getting rid of this 'feature'

I guess you could check the list archives to see why was it added in first 
place? Doug is known not to add useless features. Quite possible that we miss 
the reason.


-- 
__________________________________________________________________
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


Mime
View raw message