CC: | eldar [...] trellian.com |
Subject: | RequireArgUnpacking: handle POE parameter passing standard |
Date: | Wed, 12 Mar 2008 01:33:52 -0500 |
To: | bug-Perl-Critic [...] rt.cpan.org |
From: | Elliot Shank <perl [...] galumph.com> |
It seems that perlcritic will return "Always unpack @_ first" complaints
for code, usch as:
my ( $kernel, $heap, $input ) = @_[ KERNEL, HEAP, ARG0 ];
As most of my work is done in POE I find this far more convenient and
http://perlcritic.com/pod/Perl/Critic/Policy/Subroutines/RequireArgUnpacking.html does not indicate that such invocation is clearly good or bad practise.
Could you please update your documentation (and rules?) to accomodate
this?
Regards,
Eldar Marcussen