From 5.6.1 to 5.8.2: how preserve installed modules?

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default From 5.6.1 to 5.8.2: how preserve installed modules?

    Hi, I'm considering upgrading from ActiveState Perl 5.6.1 to 5.8.2 (in order to use the latest Apache and mod_perl, although that's kind of beside the point).

    Unfortunately, being a Perl beginner, I've installed CPAN modules by a variety of methods including:
    - manually downloading the .zip from CPAN and running its make
    - manually downloading the .zip from ActiveState and running its install
    - using PPM to download and install from ActiveState
    - downloading just the Perl source (!!!) from single .pm files *(!!!) on CPAN and placing it by hand. (Honest, that was at the very beginning of learning Perl.)

    Now I'm ready to "get religion" and start managing all my packages the right way. *So my question is: what is the right way? *How do *you* go about managing all your downloaded modules?

    Questions:

    - I see that CPAN.pm is available to install packages and prerequisites. *Does it play well with PPM? *When you have a choice, is it preferable to use PPM or CPAN.pm?
    - How can I get PPM to tell me everything that's installed?

    And specific to the Perl version upgrade:

    - Is there any way to say "take everything added to 5.6.1, and add it again to 5.8.2"? *(I'm not doing an inplace upgrade, if that's even possible, because I want to test everything with 5.8.2 before I commit to getting rid of 5.6.1.)
    - How can I tell whether a module contains compiled binary code (these being modules likely to need downloading from scratch for 5.8.2)? *
    - Can anyone say what I would "break" by upgrading to 5.8.2? *Are there major CPAN modules known to become incompatible when moving to 5.8.2?

    I'm facing a look of work to get all this straight, and I'd really appreciate any pointers. *TIA.




    __________________________________________________ ________________
    New! Unlimited Netscape Internet Service.
    Only $9.95 a month -- Sign up today at [url]http://isp.netscape.com/register[/url]
    Act now to get a personalized email address!

    Netscape. Just the Net You Need.
    mcdavis941@netscape.net Guest

  2. Similar Questions and Discussions

    1. Updating installed modules?
      Is there a way to update installed modules? Cpan only seems to offer checking for updates and then manually reinstalling. Jim Ford
    2. Who can I tell what perl modules I have installed ?
      Is there an easy way to list out all the perl modules I have installed ? I can list out everything in /usr/lib/perl/ but i figure there must be a...
    3. list installed modules
      Hi, Is there a command that list all the installed modules on a system .... Thanks Olivier
    4. [Q] all installed modules
      Does anyone know how to get a list of all intelled modules that are available to be USEd? I work with a provider and would like to know this info....
    5. FileUtils - :preserve does not preserve mtime of directories on Windoze
      Hi Rubyists, I have been trying to copy whole directory trees while preserving mtime of subdirectories and file, using FileUtils.cp_r with the...
  3. #2

    Default Re: From 5.6.1 to 5.8.2: how preserve installed modules?

    Hi,

    i ont want to get involved in the religios questions: for the rest:
    > use PPM or CPAN.pm? - How can I get PPM to tell me everything that's
    > installed?
    ppm> query * #gives you the list of installed modules
    ppm> properties Mo::Dule #gives you a detailed discriptio of that installed
    module
    > Can anyone say what I would "break" by upgrading to 5.8.2? *Are there major
    > CPAN modules known to become incompatible when moving to 5.8.2?
    Not from the top of my head.
    However, if you check
    [url]http://aspn.activestate.com/ASPN/Modules/[/url]

    and look for the ppm module status, youll find a nice table telling you which
    modules work in which version of activestate perl.
    There is a lot of modules that dont work with 5.8. yet (like
    Mail::POP3Client).

    Good luck, Wolf



    Wolf Blaum Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139