Subject: | ProhibitCallsToUndeclaredSubs suggest exempt_patterns too |
Date: | Tue, 16 Jun 2009 07:55:24 +1000 |
To: | bug-Perl-Critic-StricterSubs [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
The swig-generated Finance::TA module from ta-lib exports a long list of
functions called "TA_something". It'd be good if
ProhibitCallsToUndeclaredSubs had a config where you could specify
patterns of functions to allow when a certain module is loaded. Maybe
something like the exempt_subs but taking a regexp or wildcard,
exempt_patterns = Finance::TA::TA_.*