ActivePerl to a new PC

Hello,

My old XP Pro PC has ActivePerl 5.8.8 Build 822, with some add-on modules I use.

Two questions concerning my new XP Pro machine:

1) Pros and cons of installing 5.10.0.1005 vs 5.8.9.826 (both via .msi)?
Specifially, if I install 5.10.x will my existing scripts run automatically,
or do I need to change their initial lines? Some of my scripts need to work
with the perl dynamically embedded in VIM.

2) For either choice, what is the best way to list the modules I have on my
old machine and to get the latest versions of them on the new machine?

Thanks.

--Suresh


_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Suresh Govindachar [ Di, 07 Juli 2009 03:44 ] [ ID #2007628 ]

Re: ActivePerl to a new PC

Suresh Govindachar wrote:

> 1) Pros and cons of installing 5.10.0.1005 vs 5.8.9.826 (both via .msi)?
> Specifially, if I install 5.10.x will my existing scripts run automatically,
> or do I need to change their initial lines? Some of my scripts need to work
> with the perl dynamically embedded in VIM.

In two sentences:
Pro: 5.10 has some new features: http://search.cpan.org/~rgarcia/perl-5.10.0/pod/perl5100delt a.pod
Con: 5.10 has less pre-compiled PPM modules.

99% that you don't have to change anything in your scripts, but nobody would guarantee it.
Just check: installing ActivePerl takes only minutes, you can always rollback if something goes wrong.

> 2) For either choice, what is the best way to list the modules I have on my
> old machine and to get the latest versions of them on the new machine?

ppm profile save filename

copy "filename" to new machine, and then

ppm profile restore filename

--
Serguei Trouchelle
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Serguei Trouchelle [ Di, 07 Juli 2009 11:13 ] [ ID #2007629 ]

RE: ActivePerl to a new PC

Serguei Trouchelle wrote:
> Suresh Govindachar wrote:
>
>> 1) Pros and cons of installing 5.10.0.1005 vs 5.8.9.826 (both
>> via .msi)? Specifially, if I install 5.10.x will my existing
>> scripts run automatically, or do I need to change their
>> initial lines? Some of my scripts need to work with the perl
>> dynamically embedded in VIM.
>
> In two sentences:
> Pro: 5.10 has some new features: http://search.cpan.org/~rgarcia/perl-5.10.0/pod/perl5100delt a.pod
> Con: 5.10 has less pre-compiled PPM modules.
>
> 99% that you don't have to change anything in your scripts, but
> nobody would guarantee it. Just check: installing ActivePerl
> takes only minutes, you can always rollback if something goes
> wrong.

Thanks; I will stay with 8.9.x for now.

>> 2) For either choice, what is the best way to list the
>> modules I have on my old machine and to get the latest
>> versions of them on the new machine?
>
> ppm profile save filename
>
> copy "filename" to new machine, and then
>
> ppm profile restore filename

Installed the latest ppm-profile, but got this error message:

> ppmprofile --verbose save

c:\opt\perl\site\bin\ppmprofile.pl save is not supported for PPM4 yet at c:\opt\perl\site\bin\ppmprofile.pl line 81.

My directory structure on the old and new PC is the same. I
suppose things will work if I copy over the site directory; but
will ppm on the new PC new about the installed modules?

--Suresh


_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Suresh Govindachar [ Di, 07 Juli 2009 17:14 ] [ ID #2007630 ]
Perl » gmane.comp.lang.perl.active-perl » ActivePerl to a new PC

Vorheriges Thema: PPM 4 - package detection
Nächstes Thema: OLE Browser and Windows 7