mld has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Subroutine redefined
by Corion (Patriarch) on Mar 30, 2009 at 08:50 UTC

    As you don't show any code, I have to employ Acme::ESP and my shiny crystal balls to divine a propable cause for your problem:

    #!perl -w use cwd; use Cwd;

    exhibits the same symptom but different messages. The cause is that Windows has case-insensitive file semantics while Perl has case-sensitive semantics for what files it considers loaded through %INC. So, either you haven't told us the whole story or you have a different version of Cwd.pm, but most likely you have two use statements that try to use a different case for the module they are trying to load.

    Update: moritz pointed out your other thread. The error there could still be somehow related to this problem, but at least there you show code, and you show different error messages. Make up your mind as to what you want. If this is still the same problem, I consider it rude to post about it on such short notice without even telling me that it's a repost.

Re: Subroutine redefined
by moritz (Cardinal) on Mar 30, 2009 at 08:51 UTC
Re: Subroutine redefined
by marto (Cardinal) on Mar 30, 2009 at 08:56 UTC

    Can you please post the code you are using to produce this error (use appropriate formatting please), is this the same as Subroutine redefined Error except you are using a more modern version of Active State Perl?

    Martin