Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I think the guys that make CPANPLUS have done exactly that...

Problem is that 'install' basically just runs a script, and there's no guarantee that removing all the files listed in the packlist completely removes/uninstalls the package...

Providing an uninstall command might lead users to believe that the results is a 'clean' uninstall, even though that may not be the case. (Nor can it be checked whether it happened).

My personally prefered way to handle perl-packages is to build them, and package them in an RPM. That way, the perl-package can be easily installed and removed using rpm... This preference has probably arrisen because of my sysadmin background; creating one rpm and placing it in a yum or apt repository that all my machines automatically update from is simple and safe way to maintain identical versions on all systems, and allows kickstart installations that include all required perl-packages...

There are various ways to create an rpm package out of a CPAN module. I usually use cpan2rpm. But IIRC, CPANPLUS also includes support for tools like this, and would thereby combine CPAN's power and the (admin) easy of rpm's (or other package styles like .deb).


In reply to Re^3: howto uninstall a package/module by Gilimanjaro
in thread howto uninstall a package/module by jeanluca

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found