in reply to Trouble with poll code
In order to use the functions of a module you have to use the module. So previous advice from moritz to use DBI (and the appropriate DBD) applies but you also need to use the CGI module, and as you are using it in a non-OO fashion, you need to use it in the standard form, and you may need to debug your html so you should print it in a way you can read. Thus:Undefined subroutine &main::start_html called at D:\Web\Forex Ballot\g +roundhog.pl line 10.
Read through the book again looking at all the words ;)use CGI::Pretty qw(:standard);
|
|---|