![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Calling a PERL script from an html formby InfiniteSilence (Curate) |
on Jun 01, 2014 at 14:49 UTC ( #1088173=note: print w/replies, xml ) | Need Help?? |
You didn't provide enough of your Perl source code to solve your problem. When I copied your code to my machine I instantly got errors regarding the %in hash so I replaced that with the ever-popular CGI module:
Now to get it to compile cleanly you have other problems:
You are using $date_first_employed multiple times in while statement (I changed it) and although you were using $id in your print statement on line 61 you had not defined or set it to anything. Strict would have complained about these things. Wow, my SQL skills must be getting rusty when I see your query -- from where I'm sitting that isn't ever going to work:
These are two totally separate SQL statements comma separated. Is there database engine that allows that? If so please let me know. Celebrate Intellectual Diversity
In Section
Seekers of Perl Wisdom
|
|