Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic-StricterSubs CPAN distribution.

Report information
The Basics
Id: 36784
Status: new
Priority: 0/
Queue: Perl-Critic-StricterSubs

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: ProhibitCallsToUndeclaredSubs versus print
Date: Mon, 16 Jun 2008 09:06:23 +1000
To: bug-Perl-Critic-StricterSubs [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
With perlcritic 1.084, strictersubs 0.03, and the debian packaged perl 5.10.0, the file bar.pl below run through perlcritic --single-policy=ProhibitCallsToUndeclaredSubs bar.pl doesn't print any warnings, where I hoped it would tell me "somefunc" isn't declared. I know perl does some hairy stuff to decide whether the first word to a print is a file handle. A "somefunc(" with no whitespace before the "(" seems to be taken to be a function call.

Message body is not shown because sender requested not to inline it.