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

Shmuel (Seymour J.) Metz

Usenet Archive
Joined
Jan 21, 2003
Messages
91
Reaction score
0
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.
 

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
548,050
Messages
3,104,249
Members
248,133
Latest member
DujonT

Latest Threads

Top