Have you looked at what ->get returns? If you are not familiar with the format of (MIME formatted) emails, I suggest you either follow the example of using Email::Simple for single messages or familiarize yourself with the "wire format" of mail messages. Most likely, the first or second header line will match ^Subject:. I still recommend a module that does the heavy lifting of decoding header lines for you.
In reply to Re^3: How to take subject in Net::Imap::simple 'get'
by Corion
in thread How to take subject in Net::Imap::simple 'get'
by Matt™
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |