Perl - Subroutine redefined

后端 未结 9 1778
别那么骄傲
别那么骄傲 2020-12-14 16:19

I have asked this question before or searched and seen others ask - why am I getting the warning \"Subroutine mySub redefined at ../lib/Common.pm line x\"? and you

9条回答
  •  既然无缘
    2020-12-14 16:56

    If you're on a system with a case-insensitive filesystem (Windows, and quite often OSX), and you do use Common in one file and use common in another, you can cause problems like this.

提交回复
热议问题