Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Deprecating CPAN modules?

by dgaramond2 (Monk)
on Apr 13, 2007 at 09:10 UTC ( [id://609855]=perlquestion: print w/replies, xml ) Need Help??

dgaramond2 has asked for the wisdom of the Perl Monks concerning the following question:

Is there a mechanism or convention on deprecating my own CPAN module? For example I see that some other author has done an equivalent and better module, and I want to encourage people to use that module instead. Preferably without deleting my module out of existence or even releasing a new version just to say "this module is deprecated".

Replies are listed 'Best First'.
Re: Deprecating CPAN modules?
by DrHyde (Prior) on Apr 13, 2007 at 11:39 UTC
    You'll need to upload a new version, if only to add some text to the docs to say that it's deprecated.

    I would also make the module spit out warnings when used (which the user could turn off) and then remove it from the CPAN after a year or so. It would also be neighbourly to notify any other CPAN authors who have dependencies on your module - you can hunt them down through this page.

Re: Deprecating CPAN modules?
by explorer (Chaplain) on Apr 13, 2007 at 10:05 UTC

    Exists various methods for deprecated

    I see that authors mark modules with (DEPRECATED) front the description line.

      Actually, it needs to be noted in the NAME section of the pod to show up in CPAN search.

      =head1 NAME Foo::Bar - (Deprecated) Use Bam::Baz instead

      -xdg

      Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Log In?
Username:
Password:

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

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

    No recent polls found