in reply to Problem in mail migration

Don't use -w, instead use warnings;. If you want to know the difference, read perllexwarn, perlrun, warnings.