Did you expect the variable to be uninitialized? If not, then the warning message indicates a bug in your code. Regardless, you should fix your code to avoid the warning. Additionally, you could opt to make all warnings errors (Get stricter with use warnings FATAL => 'all';).