How do I read a text file by putting its data in a table using CGI in Perl?
问题 The CGI to read the data from merch.txt works but how can I put this in a table? HTML File: <form action="/cgi-bin/asst5/data.cgi" method="post"> <table border="2" cellspacing="5" cellpadding="5"> <tr> <td align="center">SKU: </td> <td><input type="text" name="code" size="15"></td> </tr> <tr> <td align="center">Name: </td> <td><input type="text" name="customer" size="15"></td> </tr> </table> </form> Data.CGI where data is accepted after it's been entered in the HTML my $sku = param('code');