develooper Front page | perl.perl5.porters | Postings from June 2008

Re: [perl #36673] sub foo(@$) {} should generate an error

Thread Previous
From:
=?ISO-8859-1?Q?Ren=E9e_B=E4cker?=
Date:
June 8, 2008 02:06
Subject:
Re: [perl #36673] sub foo(@$) {} should generate an error
Message ID:
484BA123.6050400@smart-websolutions.de
Rafael Garcia-Suarez wrote:
> 2008/5/26 Renée Bäcker <renee.baecker@smart-websolutions.de>:
>   
>> I've revised the patch. Now the warning applies to %, too. And it checks if
>> _ is used before the ;.
>>     
>
> Thanks, applied as #34021, with a few changes :
>
> I changed the test to go in t/lib/warnings/toke instead of
> t/comp/proto.t. I think that warnings tests from proto.t should be
> moved to t/lib/warnings/toke too. Want to try it ?:)
>   

Yes, I'll try it tomorrow...

> Also, your patch was incorrectly emitting warnings even when warnings
> were off. I fixed that.
>
>   

Thanks


-- 
Renée Bäcker
renee.baecker@smart-websolutions.de

XING: http://www.xing.com/profile/Renee_Baecker
Foo-Magazin: http://foo-magazin.de


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About