Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Any help on this poser would be most appreciated
I am trying to use Mail::Internet to split an inbound email on STDIN into it's body and header parts so I can store what I need in a database. I can deal with the header no probs but the body part is driving me up the wall, even though the documentation makes it sound simple. The 'body' method should be a reference to an array containing the lines of the message body. Here is a sub I knocked up to parse the message.
All I get in $content or @content is something like ARRAY(0x8217224); I know I'm probably overlooking something very basic here, can anybody help? Many thanks In reply to Mail::Internet question by Anonymous Monk
|
|