Hello. I am new to all web scripting except JavaScript. I have been looking for perl tutorials on how to post a form. What I have found is no use. I just want to know how to get the contents of the form by form input names and write them to a file on the users computer. Also, do I have to compile perl to a cgi file, or can I just save it as either a .pl or .cgi file. Just for an example here is a sample HTML code:
You can't do that with Perl. Ask Google about JavaScript file system API to do that.
Otherwise, try to follow a tutorial. Handling forms with Perl is a completely basic topic, covered a thousand times in different places, and written better than I ever could. Also, it requires a lot of details, like server configuration, so it's too long to simply spell out in a simple answer like this.
Bookmarks