SPUG: How to deal with same name packages?

Andrew Sweger andy at sweger.net
Mon Jan 14 17:57:57 CST 2002


On Mon, 14 Jan 2002, Colin Meyer wrote:

> When using generic names for modules, I like to prefix the name with
> another namespace. If your module is for personal use, then you might
> use CK::Link. That keeps your module clear of interference from anyone
> else who might like the desirable name of 'Link'. (Think: HTML::Parser,
> XML::Parser, YAML::Parser, Perl6::Parser, CMEYER::SuperBogus::Parser).

On Mon, 14 Jan 2002, C.J. Collier wrote:

> You might consider calling it kc::Link (giving yourself a namespace
> "kc")

Sure, take the easy way out, guys. :)

-- 
Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/





More information about the spug-list mailing list