Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #40564] [TODO] fix perlcritic Subroutines::RequireFinalReturn policy

7 views
Skip to first unread message

Jerry Gay

unread,
Oct 18, 2006, 5:27:41 PM10/18/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Jerry Gay
# Please include the string: [perl #40564]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40564 >


currently, this policy does not ignore subs which exit or die... it
forces the addition of a return statement in these subs. yuck. this
policy will be disabled until this is fixed.
~jerry

Chris Dolan

unread,
Oct 20, 2006, 1:30:56 AM10/20/06
to perl6-i...@perl.org, bugs-bi...@rt.perl.org
On Oct 18, 2006, at 4:27 PM, Jerry Gay (via RT) wrote:

> currently, this policy does not ignore subs which exit or die... it
> forces the addition of a return statement in these subs. yuck. this
> policy will be disabled until this is fixed.
> ~jerry

Fixed in Perl::Critic svn r737. This will appear in the next release
of Perl::Critic.

Chris

--
Chris Dolan, Software Developer, http://www.chrisdolan.net/
Public key: http://www.chrisdolan.net/public.key
vCard: http://www.chrisdolan.net/ChrisDolan.vcf

0 new messages