HELP: readline() on unopened filehandle DATA at G:/PERLLIB/LIB/site_perl/5.8.2/MIME/WordDecoder.pm l

  • Thread starter Shmuel (Seymour J.) Metz
  • Start date
S

Shmuel (Seymour J.) Metz

I'm trying to use the MIME packages from CPAN, and my code includes:

use MIME::parser;
use MIME::QuotedPrint;
use MIME::Tools;

Everything seems to work except that I get the error message

readline() on unopened filehandle DATA at
G:/PERLLIB/LIB/site_perl/5.8.2/MIME/WordDecoder.pm line 579.

My main and WordDecoder.pm include the token __END__; changing the
token in main to __DATA__ doesn't change anything. The relevant code
in WordDecoder.pm is

{
package main; no strict; local $^W = 0;
my @x = <::DATA>;
eval join('',<::DATA>) || die $@ unless caller();
}

Any suggestions? Thanks.

--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top