I have created a few small perl scripts and one I was never able to complete no matter how simple I try to make it is the contact form. It never works for me. I was wondering if someone could take a look at the snipplet below and help me figure out how I can do a similar syntax of this without using a perl module. My server refuses to install more and will not allow me to install mods, so I need to use plain sendmail. Thanks!
sendmail(
To => $adminmail,
From => $from,
Subject => $subject,
Message => $message
) or die $Mail::Sendmail::error;