in reply to Error in loading some Expat.dll

Did you install Strawberry Perl after moving to windows 7, or had you just copied the previous installation? I'm pretty sure Strawberry Perl ships with XML::Parser::Expat.

Replies are listed 'Best First'.
Re^2: Error in loading some Expat.dll
by balajinagaraju (Sexton) on May 18, 2012 at 09:29 UTC
    I dint not install strawberry perl , i just copied my set up from old machine and set the env variables. As i had downloaded lot of modules from CPAN i just copied it to the new machine.

      This is where your problems come from that you're resolving now.

      You are right strawberry perl ships XML::Parser::Expat , i have the dll present the mentioned location but still i get this error.

        You replied to yourself, not to me. You should have used autobundle on your old installation to generate a Bundle you could easily install once you'd migrated to windows 7 and installed Strawberry perl. Copying things about like this is a very poor strategy. As you're finding out. See Re: moving a perl CPAN installation for more details of autobundle.

        So what is the best way to migrate my workspace , its not really possible to keep installing all the modules again on my new machine. Is there a better way to handle these kind of situations.?