Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Updating Activestate Perl 516 to 518

by bcarroll (Pilgrim)
on Oct 31, 2014 at 17:57 UTC ( [id://1105743]=note: print w/replies, xml ) Need Help??


in reply to Updating Activestate Perl 516 to 518

Modules that contain XS code (compiled modules) are typically not binary compatible with other Active Perl versions.

You can use the following perl script to create a batchfile to install all of your ppm modules. Run the script with the old perl version and save the output to a file (ppm.bat), then install the new ActivePerl version and run the batchfile.

You will need to make sure any PPM repositories you manually configured in the old version are added to the new version.

use warnings; use strict; foreach( `ppm list` ){ chomp $_; next unless( $_ =~ /site/ ); $_ =~ /^\| (.+?) /; print "ppm install $1\n"; }

Replies are listed 'Best First'.
Re^2: Updating Activestate Perl 516 to 518
by zemplen (Novice) on Jan 01, 2015 at 03:37 UTC
    This worked fine for me. I ran it with 516 active. Activated 518. When I ran the bat file it only ran one command and then stopped. Solution is to open a cmd window and paste the contents of the bat file into the cmd window and everything works fine.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found