Subject: | several warnings and unoptimized translation of non-postfixderef array expression ($exe[0]) by PostfixDeref |
This array element expression:
$exe[0]
results in a number of warnings (which can be very noisy in code which uses that a lot).
The translated expression is also a bit costly (a map).
% echo '$exe[0]' | perl -MBabble::Filter=::PostfixDeref -0777 -pe babble
Use of uninitialized value $rest in string eq at /.../lib/site_perl/5.28.1/Babble/Plugin/PostfixDeref.pm line 62, <> chunk 1.
Use of uninitialized value $sigil in concatenation (.) or string at /.../lib/site_perl/5.28.1/Babble/Plugin/PostfixDeref.pm line 63, <> chunk 1.
Use of uninitialized value $rest in concatenation (.) or string at /.../lib/site_perl/5.28.1/Babble/Plugin/PostfixDeref.pm line 63, <> chunk 1.
(map {$_}, $exe)
Thanks,
Diab