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

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

Thread Previous | Thread Next
Rafael Garcia-Suarez
June 8, 2008 01:58
Re: [perl #36673] sub foo(@$) {} should generate an error
Message ID:
2008/5/26 Renée Bäcker <>:
> 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 ?:)

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

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About