Alexandr Ciornii <[email protected]> writes:

> I've uploaded new version of Win32API-File and got this message:
>
> Status: Permission missing
>           ==========================
>
>      module: Win3
>           version: 0.1201
>           in file: Win32API-File-0.1201/File.pm
>
> Win32API-File-0.1201/File.pm does not have package Win3

Thanks,

bug identified but not yet checked in, must write more tests, but now
must go to bed.

diff --git a/lib/PAUSE/pmfile.pm b/lib/PAUSE/pmfile.pm
index 3c83da4..3ed82fd 100644
--- a/lib/PAUSE/pmfile.pm
+++ b/lib/PAUSE/pmfile.pm
@@ -222,7 +222,7 @@ sub packages_per_pmfile {
                       \bpackage\s+
                       ([\w\:\']+)
                       \s*
-                      (?: $ | [\}\;] | ($version::STRICT) )
+                      (?: $ | [\}\;] | (\s+$version::STRICT) )
                     }x) {
             $pkg = $2;
             $strict_version = $3;

Good night,
-- 
andreas

Reply via email to