Hmm, okay, that all makes sense. I wasn't positive that it could figure out PERL so that would explain that part. But Dreamweaver had nothing to do with the problem, I was merely opening it in the program to see if it could handle the scripts. Obviously it can't
I believe that the code I attached to my first post is Dreamweaver-less. If anyone here is familiar with PERL, they'd be my eternal idol if they could help me figure out what is wrong, or how I should go about setting it up on my organization's site.
Thanks for all the suggestions so far, though. You guys are awesome.