Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"IO::Handle: bad open mode" error message

Status
Not open for further replies.

WhyNine

Programmer
Mar 22, 2008
1
I am trying to write some code to send HTML email with attachments from my web server, using Mail::Builder or Email::Send. These rely on other modules that seem to be using in-core files. On my PC the code runs ok (no errors) using perl version 5.8 but the web server is using 5.6. I get the error message "IO::Handle: bad open mode: <: at ../libs/MIME/Body.pm line 525" in the server error log.

Are in-core files a new feature of 5.8 (ie there is no way for me to run this on the web server) or am I missing another module?
 
MIME::Entity might be a way out

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top