in reply to Hand-rolled CGI mailto

First of all welcome to perlmonks.org :) You can tell a thousand times that you're new to Perl, but that's not going to help you actually. There's nothing wrong with being new to Perl, but if you just posted this (with an appropriate title), the monks would figure out that you're new to Perl and probably are more likely to help. Nonetheless, I'll see what I can do to help ;)

Your script, as posted (please use <code> tags around your actual code, as described in Writeup Formatting Tips), takes for the $formdata hash for granted, yet you don't tell it how to fill it and with what data. The error you get, is Perl complaining about just this :)

I would suggest you take a look at CGI and while you're reading, read about strict aswell. And -albeit a little old-, http://www.cgi101.com might help you too :)

I'm pretty sure you can get it to work after reading the stuff mentioned above. Good luck!
--
b10m