Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 59205
Status: resolved
Priority: 0/
Queue: Email-MIME

People
Owner: Nobody in particular
Requestors: MJD [...] cpan.org
Cc:
AdminCc:

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



Subject: Poor error message issued when invalid 'body' arg passed to ->create
% perl -MEmail::MIME::Creator -e 'Email::MIME->create(body => [])' Not a SCALAR reference at /usr/local/share/perl/5.10.1/Email/MIME.pm line 540. This is a bad error message. Please validate arguments to method calls and issue appropriate complaints with croak().
From your lips to God's ear, in only three years. ~/code/cs/Email-MIME$ perl -I lib -MEmail::MIME::Creator -e 'Email::MIME->create(body => [])' provided body reference is not a scalar reference at -e line 1. -- rjbs