diff --git a/dist.ini b/dist.ini index fc8846b..abe005e 100644 --- a/dist.ini +++ b/dist.ini @@ -4,7 +4,7 @@ license = Perl_5 copyright_holder = Mike Friedman copyright_year = 2011 -version = 0.004 +version = 0.005 [@Basic] [AutoPrereqs] diff --git a/lib/Pod/Weaver/Section/Extends.pm b/lib/Pod/Weaver/Section/Extends.pm index 04121e8..6718b9c 100644 --- a/lib/Pod/Weaver/Section/Extends.pm +++ b/lib/Pod/Weaver/Section/Extends.pm @@ -27,7 +27,7 @@ sub weave_section { my $module = $file; $module =~ s{^lib/}{}; # assume modules live under lib - $module =~ s{/}{::}; + $module =~ s{/}{::}g; $module =~ s/\.pm//; my @parents = $self->_get_parents( $module );