mimedump - dump out the contents of a parsed MIME message
Read a MIME stream from the stdin, and dump its contents to the stdout.
mimedump < mime.msg
Andreas Koenig suggested this, and wrote the original code. Eryq perverted the hell out of it.
To install MIME::Head, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MIME::Head
CPAN shell
perl -MCPAN -e shell install MIME::Head
For more information on module installation, please visit the detailed CPAN module installation guide.