in reply to perl reports fastcwd 'redefined' when using Cwd and -W

Why do you have -W?
-W   Enables all warnings regardless of "no warnings" or $^W. See
     perllexwarn.
  • Comment on Re: perl reports fastcwd 'redefined' when using Cwd and -W

Replies are listed 'Best First'.
Re^2: perl reports fastcwd 'redefined' when using Cwd and -W
by argv (Pilgrim) on Jan 20, 2007 at 00:58 UTC
    > Why do you have -W?

    Because this was an old script, written at a time when I apparently swapped my interpretation of -w and -W. I have since used -w in all my scripts, but forgot to see it in this case. thanks for pointing it out. In any event, it does seem that upgrading perl is the thing to do. I'm surprised that the "latest" version of Redhat doesn't have the most up-to-date version.