Re: parse mime email On 6/20/07, Tony marquis  wrote:

> I'm trying to read the body and the attachment in a mime message. I keep
> getting the folling error.
>
> Use of uninitialized value in pattern match (m//) at
> /usr/share/perl5/Email/MIME/ContentType.pm line 24.

That means that at or near line 24 of the ContentType.pm file, there's
a pattern match. Either the pattern itself, or the string that it's
supposed to match, comes from a variable; but that variable held undef
when Perl got there. If you examine the code around line 24, or stop
at the right point with the debugger, you might be able to tell what's
missing.

Good luck with it!

--Tom Phoenix
Stonehenge Perl Training

-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


