http://qs321.pair.com?node_id=63733


in reply to two submit buttons in a form

Test the value of the parameter named "bloption". For example, if your CGI object is $q, try:

if ($q->param("bloption") eq "add") { # add buddy code here } elsif ($q->param("bloption") eq "delete") { # delete buddy code here }