in reply to Re^2: Receiving Error when running script
in thread Version Conflict and XSLoader

When I installed a Perl5.8 under C:\Perl5.8, I had modules under the c:\Perl\lib which was a previous version. I copied module folders such as Config\Hash from c:\Perl\lib to c:\Perl5.8\lib. Could that be the issue? Do I need to download newer modules of everything?

Replies are listed 'Best First'.
Re^4: Receiving Error when running script
by ikegami (Patriarch) on Sep 19, 2007 at 18:31 UTC

    If going from one 5.6 version to another, or from one 5.8 version to another, you can copy modules. However, you half-copied a module, copying it's XS component without copying its .pm component or vice-versa. You should have restricted yourself to non-core modules (site/), for starters.

    If you don't mind some of your modules getting upgraded, you would probably have been better off copying c:\perl to c:\perl5.8 then install over c:\perl5.8.

Re^4: Receiving Error when running script
by ww (Archbishop) on Sep 19, 2007 at 18:33 UTC
    Yes.
    and, yes.

    You can't simply copy modules (other than those which are pure perl) from one place to another and expect them to work.