[Mimedefang] Problem with MIME::Tools and undefined subroutine encode_qp

root root at auburnfw.harker.com
Thu Oct 21 17:15:07 EDT 2004


I have upgraded to mimedefang 2.45, MIME::Tools 5.414, and MIME::Base64 3.05
and am getting the error:
	Oct 21 13:53:19 listserv mimedefang-multiplexor[777]: Slave 1 stderr:
	    Undefined subroutine &MIME::QuotedPrint::encode_qp called at
	    /usr/lib/perl5/site_perl/5.8.0/MIME/Decoder/QuotedPrint.pm line 74. 
I have tracked it down to how MIME::Decoder::QuotedPrint.pm calls (or does not
call) encode_qp in MIME::QuotedPrint.pm

This code fragment which calls MIME::QuotedPrint::encode_qp directly works:
	use MIME::QuotedPrint qw(encode_qp);
	while (<>) {
	    print encode_qp($_);
	}
While this code fragment which calls MIME::Decoder::QuotedPrint::encode_qp
does not work:				   ^^^^^^^
	use MIME::Decoder::QuotedPrint qw(encode_qp);
	while (<>) {
	    print encode_qp($_);
	}
fails with:
	Undefined subroutine &main::encode_qp called at /tmp/encode-qp line
	    10, <> line 1.

I saw an earlier post about a problem with an older version of Base64.so
and have verified that they are the MIME::Base64 3.05 version.

Any help would be appreciated

RLH



More information about the MIMEDefang mailing list