|| Not 100% perl but it took me *ages* to work it out and I couldn't find any examples any-where so I wanted to make a record for the next poor schmuck. If you press the button created it will pop up a window prompting you with OK or cancel. Hitting OK will submit the form, hitting cancel will not. The CGI.pm doco for submit says you cannot stop the form from being submitted with an onClick action but I tried it with Mozilla 1.0 and IE 5 and the form wasn't submitted in either case...
-name => 'delete',
-value => 'Delete User',
-onClick => 'return confirm("Delete account?")',