in reply to forwarding emails with perl??

Could you not do this with sendmail?