Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Replicate Perl environment

by gepebril69 (Scribe)
on Feb 09, 2013 at 15:40 UTC ( #1017969=perlquestion: print w/replies, xml ) Need Help??
gepebril69 has asked for the wisdom of the Perl Monks concerning the following question:

Hi there

I've been developing a while in Perl (strawBerry on Windows. Now my laptop is slowly dying and have to move everything. I thought by reinstalling the same Perl version and installing via CPAN I would get an identical environment, it seems not.

That is not a problem by it's self, but Win32::API doesn't seem to be compatible with Win32:SystemInfo, I filed a bug report:, but live goes on. I ran into a blog: with explanation of autobundle :)

My question is do I have to use the same Strawberry Perl (binairy) version on my new machine or can I take/and should I take the latest install binairies?

Thx in advance

Replies are listed 'Best First'.
Re: Replicate Perl environment
by CountZero (Bishop) on Feb 09, 2013 at 18:18 UTC
    You can use the autobundle of your "old" Perl to install the modules on a "new" Perl. Everything will be freshly downloaded/compiled/installed as necessary.


    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics

      Thanks for the advice

      I've tried and With both I succeeded to replicate the environment, although a few sub processes of the install process crashed. It didn't accomplish to install Win32:SystemInfo. It noted that it could only be done with force. When I performed that I got the same situation as bug 83237

      What I just found out is that the old version (environment) was 32 bit instead of 64.....

        Installed version of Strawberry Perl and no problems with Win32::SystemInfo so my conclusion was right, there is something incompatible with 64 bits version of Perl and Win32:SystemInfo

        Will update bugreport #83237

Re: Replicate Perl environment
by bulk88 (Priest) on Feb 14, 2013 at 03:46 UTC
    Win32:SystemInfo simply isnt 64 bit compatible due to a bug (see RT ticket you linked to). You can't switch to a 64 bit perl, but you can upgrade to any 32 bit strawberry you want and Win32:SystemInfo will work and reinstall correctly from CPAN shell, you just cant upgrade to a 64 bit strawberry perl. I assume you (gepebril69) are on CPAN RT.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1017969]
Approved by McDarren
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2019-02-18 17:02 GMT
Find Nodes?
    Voting Booth?
    I use postfix dereferencing ...

    Results (100 votes). Check out past polls.