Which webserver are you using? Is /cgi-perl/ directory enabled for executing scripts??
For Apache, you might be interested in the Scriptalias directive. Manav |-----Original Message----- |From: Graeme McLaren [mailto:[EMAIL PROTECTED] |Sent: Tuesday, January 11, 2005 6:14 PM |To: beginners@perl.org |Subject: display html using perl class | | |Greetings all, I am trying to display some html using a perl |display class. |When I try to view the page using the url containing /cgi-bin/ it works |fine, however when the url contains /cgi-perl/ instead of /cgi-bin/ the |browser (Mozilla Firefox) displays raw html. | |Anyone have any ideas as to why this is the case? | |Cheers in advance, | |G :) | | |Public Sub House() | |On Error Resume drink | | If Pint.empty = True Then | Pint.refill | Else | Pint.drink | End if | |stomach.add Pint | |MsgBox " I've had .... " & stomach.count & " Pints" |MsgBox "VERY DRUNK" | |End Sub | | | |-- |To unsubscribe, e-mail: [EMAIL PROTECTED] |For additional commands, e-mail: [EMAIL PROTECTED] |<http://learn.perl.org/> <http://learn.perl.org/first-response> | | ********************************************************* Disclaimer: This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>