Next: , Previous: , Up: Packaging Guidelines   [Contents][Index]


22.4.8 Perl Modules

Perl programs standing for themselves are named as any other package, using the lowercase upstream name. For Perl packages containing a single class, we use the lowercase class name, replace all occurrences of :: by dashes and prepend the prefix perl-. So the class XML::Parser becomes perl-xml-parser. Modules containing several classes keep their lowercase upstream name and are also prepended by perl-. Such modules tend to have the word perl somewhere in their name, which gets dropped in favor of the prefix. For instance, libwww-perl becomes perl-libwww.