I need some help with providing a button or hyperlink to delete a file using cgi and perl. unlink will delete a file in perl but I am not sure on how to use it inside the cgi code. Also, it would be nice if we can throw a confirmation dialog before deleting. Any inputs into this are greatly appreciated.
Thanks in advance.