我的 perl cgi 代码中有这 2 个按钮,即使我为每个按钮分配了不同的操作,它们也会执行相同的操作 这是代码
print
start_html(),
start_form(-action => 'com.pl'), #first action for first button
submit(-name => 'submit', -value => 'View com.pl'), //on cliking this redirects to com.pl script
start_form(-action => 'about.pl'),
submit(-name => 'submit', -value => 'About Us'); //On clicking this button it redirects to com.l instead about.pl
end_form,
end_html;
我该如何更改此设置,以便单击关于我们的按钮将我重定向到 about.pl