summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-09-14 10:30:10 +0000
committerThierry Vignaud <tv@mageia.org>2011-09-14 10:30:10 +0000
commit4abf9e87bc077f8f6bbbd166e80a70459773c40f (patch)
treef9983aa07a609edb821280c513a1a2680b058fcc
parent0efba878a88fa9fb96480db911d0721e14c7cae1 (diff)
downloadperl-MDK-Common-4abf9e87bc077f8f6bbbd166e80a70459773c40f.tar
perl-MDK-Common-4abf9e87bc077f8f6bbbd166e80a70459773c40f.tar.gz
perl-MDK-Common-4abf9e87bc077f8f6bbbd166e80a70459773c40f.tar.bz2
perl-MDK-Common-4abf9e87bc077f8f6bbbd166e80a70459773c40f.tar.xz
perl-MDK-Common-4abf9e87bc077f8f6bbbd166e80a70459773c40f.zip
fix namepsace in doc
-rw-r--r--NEWS2
-rwxr-xr-xlib/MDK/Common.pm.pl1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0573acf..9043cc4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix namepsace in doc
+
Version 1.2.28 - 12 April 2011, by Olivier Blin
- substInFile: fix writing to zero-sized or nonexistent files (#460),
diff --git a/lib/MDK/Common.pm.pl b/lib/MDK/Common.pm.pl
index ec29f06..260189a 100755
--- a/lib/MDK/Common.pm.pl
+++ b/lib/MDK/Common.pm.pl
@@ -35,6 +35,7 @@ EOF
foreach my $f (<lib/MDK/Common/*.pm>) {
(my $pkg = $f) =~ s|/|::|g;
+ $pkg =~ s!lib::!!;
open F, $f or die "can't open file $f";
my $line;
while (<F>) {