Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
55751
Status:
new
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Wishlist
Broken in:
(no value)
Fixed in:
(no value)



Subject: ProhibitIndirectSyntax on dynaloader bootstrap()
Date: Sun, 21 Mar 2010 09:58:45 +1100
To: bug-Perl-Critic@rt.cpan.org
From: Kevin Ryde <user42@zip.com.au>
As an idea for a feature, ProhibitIndirectSyntax could report on the common DynaLoader form bootstrap Foo; or bootstrap Foo $VERSION; I'd used it several times over the years by cut and paste before realizing it was a method call instead of some magical function :-). Anything where "bootstrap" is followed by the current package name would be pretty unambiguous and could be a builtin. I don't think bootstrap normally appears with anything except the current package name either. I suppose it would work to make the call from somewhere else, but that'd have to be rare.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.