If you use warnings in your Perl code you might encounter this strange warning. It is especially strange as the code seems to be working as expected. Nevertheless this is one of the common warnings in Perl. You'd better understand it and get rid of it.

Without disabling warnings.