in reply to Finding e-mail headers

they stop at \n\n. order is unimportant. my( $key, $value )= split /:/, $_, 2; should get you going on processing them.

~Particle *accelerates*