Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How to Easily Check for Available CPAN Modules when Upgrading ActiveState Perl

by dasgar (Deacon)
on Jul 31, 2012 at 03:49 UTC ( #984557=note: print w/ replies, xml ) Need Help??


in reply to How to Easily Check for Available CPAN Modules when Upgrading ActiveState Perl

As I read it, this would mean I can't upgrade all the way to Perl 5.14.x, given that Tk is a critical module that needs to be available for many of my Perl programs.

One easy option is to add the Bribes repository. If you use the GUI version of PPM, the information to add the Bribes repository is already included in PPM. You can see a list of the available modules from Bribes' 32-bit repository and 64-bit repository.

Of course, if you're going to a newer version of Perl, you've got a few options. First, if you stay with ActiveState's Perl, you can just install directly from CPAN. To do that, you just need to install MinGW and dmake from PPM. After that, you can install modules directly from CPAN.

A second option would be to go with Strawberry Perl, which already comes with everything needed to install modules from CPAN. I've recently gone with DWIM Perl. This is Strawberry Perl plus additional modules and Padre, which is a Perl-based IDE.

Is there a CPAN module or something that will interrogate my current installation...

As for listing your current modules, it's been my experience that ppm list won't list any modules that you installed without using the PPM utility. If you haven't done any of those kinds of installs, you shouldn't need to worry about that caveat.

If you do some digging around ActiveState's web site, you can get a list of modules and their version and PPM build status for ActivePerl build versions. To check about CPAN modules build success rates on Windows, you can check out CPAN Testers for detailed information.

Personally, rather than doing all that checking, I would just make a list of the modules that I need, move to a newer version Perl using Strawberry Perl (or DWIM Perl) and just install the modules from CPAN.


Comment on Re: How to Easily Check for Available CPAN Modules when Upgrading ActiveState Perl
Download Code
Re^2: How to Easily Check for Available CPAN Modules when Upgrading ActiveState Perl
by ozboomer (Monk) on Jul 31, 2012 at 05:55 UTC

    Thanks for those suggestions..

    Strawberry looks like it's an interesting option.. but I'll have to (re-)learn all the old POD-style docs and their navigation -- I've been spoilt with ActiveState's HTML/framed doc system that includes help for the installation as well as the actual perl interpreter and modules, etc.

    Seems like I have a lot more to study... as usual..

      I know exactly what you're talking about. I myself started out on ActiveState Perl. Like you, I really liked the web-based documentation and never really got into using the line-command perldoc utility.

      If that's what's holding you back from making the switch from ActiveState to Strawberry, then here's a few alternatives that might help out.

      First, I've gotten more familiar with using http://www.perl.org/docs.html for looking things up. That combined with CPAN, it is somewhat similar to ActiveState's web-based documentation system, but not as convenient.

      Secondly, I recently found Pod::POM::Web. According to the Acknowledgements section of the documentation, the module was "deeply inspired" by "the structure of HTML Perl documentation released with ActivePerl". I'd recommend checking it out.

        mkdir out_html

        perl -MPod::Simple::HTMLBatch -e Pod::Simple::HTMLBatch::go @INC out_html

        start out_html/index.html

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-08-01 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls