Subject: | Unable to call replace function in MIME/Lite/HTML.pm line 488 |
Strangely, I've received a report about this line in the module:
$mail->replace('X-Mailer',"MIME::Lite::HTML $VERSION");
(line 488)
The person said that if they changed the line to:
$mail->replace('X-Mailer' => "MIME::Lite::HTML $VERSION");
Things worked just fine.
I know the, "=>" is much like, "," in this context - except the, "=>"
allows you to use a bareword for the key - so I don't know what the
problem is. Just going through the code, this is the only instance of,
replace() that does use "=>" in its paramaters.