Subject: | Subroutines::ProhibitUnusedPrivateSubroutines dies on "&_name" call |
Attached file is a minimal instance that triggers the bug.
If a "private" subroutine is called with a sigil, the following error is
thrown:
Can't call method "isa" without a package or object reference at
/usr/local/share/perl/5.10.0/Perl/Critic/Policy/Subroutines/ProhibitUnusedPrivateSubroutines.pm
line 196
I have tested and established that "&_name()" is the triggering syntax.
"_name()" does not trigger it, nor does "&name()".
Randy
--
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray Silicon Valley Scale Modelers:
http://www.svsm.org
rjray@blackperl.com
randy.j.ray@gmail.com
Subject: | critic_bug |
Message body not shown because it is not plain text.