Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Renaming CPAN modules

by kwaping (Priest)
on Oct 27, 2006 at 21:15 UTC ( [id://581022]=note: print w/replies, xml ) Need Help??


in reply to Renaming CPAN modules

I'm not sure how acceptable this is for CPAN, but you could write a thin wrapper for your Business::TPGPost module called Business::TNTPost. You would then keep the original module updated under the original name, but new users could still find and use the new one via the new name (with Business::TPGPost being a dependancy).

---
It's all fine and dandy until someone has to look at the code.

Replies are listed 'Best First'.
Re^2: Renaming CPAN modules
by stvn (Monsignor) on Oct 28, 2006 at 01:18 UTC

    I would actually recommend doing the inverse. Write the new Business::TNTPost (or whatever name you most like, company agnositc is best to avoid this same issue in the future), and then re-write Business::TPGPost to be a wrapper around it.

    My reasoning is that the TNTPost is the new name, and so is the "future" of this module. While the TPG is the "past" and should eventually be deprecated.

    -stvn
Re^2: Renaming CPAN modules
by AK108 (Friar) on Oct 27, 2006 at 21:31 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://581022]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-18 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found