I have to assume (since I don't know better) that the email address is being interpolated.
You're thinking of eval STRING, which is very different from the eval BLOCK that you have here.
By the way, you can get rid of the parentheses in:
(new Mail::Sender)->MailMsg... if you use the unambiguous method invocation syntax:
Mail::Sender->new->MailMsgIn reply to Re: Unevaling part of an eval block
by chromatic
in thread Unevaling part of an eval block
by madbombX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |