in reply to Perl CGI and DB Integration
#!/usr/bin/perl use warnings; use strict; use CGI::Carp qw( fatalsToBrowser set_message ); use CGI qw/:standard/; $|=1; print "Content-type: text/plain\n\n"; foreach my $name ( param() ) { print "$name: '", param($name), "'\n"; }
If it works, then write code to take the params and access your sql server. You can google for perl cgi database access and get many examples, such as database tutorial and using CGI, DBI and HTML::Template (a mini tutorial with example code)
|
|---|