Created
November 23, 2014 11:53
-
-
Save niner/bba04e647b97ddf6cab5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub send(...) { | |
... | |
my $body = q:heredoc/BODY/; | |
Someone contacted you: | |
Name: $name | |
Email: $email | |
Message: | |
$message | |
Sincerely, your form mailer | |
BODY | |
$mailer.send($headers, $body); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment