How do I choose a package name for a custom Perl module that does not collide with builtin or CPAN packages names?

前端 未结 6 558
南方客
南方客 2020-11-30 03:37

I have read the perldoc on modules, but I don\'t see a recommendation on naming a package so it won\'t collide with builtin or CPAN module/package names.

In the past

6条回答
  •  情书的邮戳
    2020-11-30 03:56

    There is nothing wrong with naming your internal modules after your company; I always do this. 90% of my code ends up on CPAN, so it has "normal" names, but the internal stuff is always starts with ClientName::.

    I'm sure everyone else does this too.

提交回复
热议问题