I have a question, real quick. Why use the <<END_HTML, etc to block off a section of html to print out instead of just print qq~ ~; for instance? What are the advantages of using this other method?
R.A. Howard -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 3:43 PM To: mb Cc: [EMAIL PROTECTED] Subject: Re: CGI perl html urgent So many things were wrong: Here is a cleanup version: (See attached file: VoirStock.cgi) I inserted line 21 for my purposes, so uncomment line 20 and comment out line 21 20 #$fichier = "../src/Stock.txt"; 21 $fichier = "Stock.txt"; Output: ---------------------------------------------------------------------------- ----------- Content-type:text/html <html><head><title> mettre a jour la BD Stock a partir du lecteur</title></head> <body bgColor=#CCFCCF TEXT =Navy> <table> <tr> <td><b>code barres</b></td> <td><b>article</b></td> <td><b>quantite</b></td> <td><b>prix</b></td> </tr> <tr> <td> 3095562806099 </td> <td> DICTINNAIRE HACHETTE 97 </td> <td> 63 </td> <td> 490.00 </td> </tr> <tr> <td> 3095562810010 </td> <td> ENCYCLOPEDIE HACHETTE DES VI </td> <td> 40 </td> <td> 399.01 </td> </tr> <tr> <td> 3260050658652 </td> <td> CHANSONS DU MONDE POUR LES E </td> <td> 81 </td> <td> 249.00 </td> </tr> </body> </html> -------------------------------------------------------------------------- __________________ William Ampeh (x3939) Federal Reserve Board -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]