Re: why does perl critic not like @_

2014-08-18 Thread anthony . okusanya
Perl critic is simply trying to ensure that you code follows Perl Best Bractices I use perltidy and perlcritic on all my perl code to keep it need and readable. to your question though according to Damian Conway's book (perl best practices) which is what perlcritic uses by default as a guide, Pe

why does perl critic not like @_

2014-08-18 Thread John
Hi I have just started using perl critic to analyse my code. I have often used @_ as a temporary array like this: [code] # count internals @_ = $h_wk->selectrow_array("SELECT COUNT(*) FROM v_internals"); my $count_all_internals = shift @_; @_ = $h_wk->selectrow_array("SELECT COUN