summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xfake_packages/gen.pl2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 02a5447..5b1be87 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- blacklist some function names that perl_checker dislike (use, ...)
+
Version 1.2.14 - 01 February 2012, by Thierry Vignaud
- update fake packages
diff --git a/fake_packages/gen.pl b/fake_packages/gen.pl
index aaf4a4d..b2a9311 100755
--- a/fake_packages/gen.pl
+++ b/fake_packages/gen.pl
@@ -10,6 +10,8 @@ sub get_paras {
my ($name, $para) = @_;
$name =~ s/\Q$current_prefix//;
$current_name = $name;
+ # perl_checker don't like those:
+ return if member($name, qw(print use));
$l{$current_package}{$name} = [ map {
if (/\Q.../) {
'@_more_paras';