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:
arser;
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 = <:
ATA>;
eval join('',<:
ATA>) || die $@ unless caller;
}
Any suggestions? Thanks.
use MIME:
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 = <:
eval join('',<:
}
Any suggestions? Thanks.