On Thu, Feb 11, 2010 at 03:24:19PM +1100, Voytek Eymont wrote: > I am a failure in mail processing with amavisd/spamassasin > ---------- > AFA05B44845 3085241 Thu Feb 11 10:07:31 s...@hotmail.com > (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, > id=21117-12, mime_decode-1 FAILED: Can't locate object method "binmode" > via package "IO::File" at /usr/lib/perl5/site_perl/5.8.5/MIME/Body.pm line > 437. (in reply to end of DATA command)) > ---------- > I've reinstalled IO:File > > I've googled but haven't found any resolution > > any thoughts or suggestions ? > > --------------------------- > # perl -MCPAN -e shell > > cpan shell -- CPAN exploration and modules installation (v1.9402) > Enter 'h' for help. > > > cpan[1]> > install > IO::File > CPAN: Storable loaded ok (v2.13) > Going to read '/root/.cpan/Metadata' > Database was generated on Thu, 11 Feb 2010 01:32:49 GMT > IO::File is up to date (1.14).
binmode works fine with that version of IO::File. Maybe you have another version installed as well somewhere? What does: perl -MIO::File -le 'print $IO::File::VERSION' say? Cheers, Gavin -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html