> splain Possible unintended interpolation of @gmail in string at ./Emailtest_backup_2.pl line 24. Possible unintended interpolation of @gmail in string at ./Emailtest_backup_2.pl line 24 (#1) (W ambiguous) You said something like `@foo' in a double-quoted string but there was no array @foo in scope at the time. If you wanted a literal @foo, then write it as \@foo; otherwise find out what happened to the array you apparently lost track of.