Pod files aren't indexed by PAUSE or some other tools, so they can't be installed by name using some tools. They also don't get permissions attached, so someone else could take over the namespace. pm files can also have a parseable version, which can help tracking module changes. | [reply] |
You're saying that .pod files can't be installed out of context, but still come with the distribution?
Unless I misunderstand you, that's a feature not a bug.
Regarding taking over the namespace, having equally named .pod and .pm should be safe in this respect.
update
to better understand the namespace issue
Two dists
- Foo with Foo/lib/FAQ.pod
- Foo::FAQ with Foo/FAQ/lib/FAQ.pm
could clash?
| [reply] [d/l] [select] |
Oh, interesting, thanks. Actually, one of the counter-examples where I found *.pod but expected to see *.pm while doing research myself, was MCE::Core. So, then, yes, I tried just now:
>cpanm --test-only MCE::Core
! Finding MCE::Core on cpanmetadb failed.
! Finding MCE::Core () on mirror http://www.cpan.org failed.
! Couldn't find module or a distribution MCE::Core
So... someone evil can hijack the namespace?
| [reply] [d/l] [select] |
module : MCE::Core
version: 1.901
in file: lib/MCE/Core.pm
status : indexed
| [reply] [d/l] |
| [reply] [d/l] |
| [reply] |