Skip Menu |

This queue is for tickets about the MIME-Lite-HTML CPAN distribution.

Report information
The Basics
Id: 41447
Status: resolved
Priority: 0/
Queue: MIME-Lite-HTML

People
Owner: Nobody in particular
Requestors: perl [...] justinsimoni.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.23
Fixed in: (no value)



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.
Fixed in 1.24