Lubos Kolouch, Fri, 30 Sep 2011 17:19:03 +0000: > Paul Johnson, Fri, 30 Sep 2011 15:06:32 +0200: > >> On Fri, Sep 30, 2011 at 10:23:05AM +0000, Lubos Kolouch wrote: >> >>> Is it a bug in perlcritic? >> >> I don't use perlcritic, but it seems like a bug to me. >> >> Are you using the latest version of perlcritic? If so, I would suggest >> submitting this as a bug report if someone has not already done so. >> >> https://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Critic >> >> -- >> Paul Johnson - p...@pjcj.net http://www.pjcj.net > > Thanks, I will do that. > > P.S. I know I should check the return value from the open, I just tried > to keep the sample as simple as possible... > > Lubos
Hello again, So it seems perlcritic is perhaps right - when I swap the lines my @array; and open ..., it does not complain anymore. So I guess it is in facts correct behaviour of perlcritic :) Thank you for your help anyway... Lubos -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/