diff options
Diffstat (limited to 'fake_packages/gen.pl')
-rwxr-xr-x | fake_packages/gen.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fake_packages/gen.pl b/fake_packages/gen.pl index b2a9311..9d09a5b 100755 --- a/fake_packages/gen.pl +++ b/fake_packages/gen.pl @@ -108,7 +108,7 @@ sub parse_pm { $current_package = $1; } elsif (!$current_package) { # waiting for the package line - } elsif (/^sub\s*(\S*);/) { + } elsif (/^sub\s*(\S*);/ && !/;.*\)/) { # forget it } elsif (/^sub\s*(\S*)/) { $name = $1; |