LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   DamnSmallLinux (http://www.linuxquestions.org/questions/damnsmalllinux-42/)
-   -   monkey webserver and perl (http://www.linuxquestions.org/questions/damnsmalllinux-42/monkey-webserver-and-perl-447371/)

Tyke 05-22-2006 10:34 AM

monkey webserver and perl
 
Hi

I've just installed DSL on an old laptop, and I'm using it to learn perl on, but I've come up against a real stumbling block.

I'm using the included monkey webserver, and everything works fine until I make a mistake in a script. Say I leave off a semi colon on a statement. When I try to run the script from Dillo, it nothing happens. The status bar at the bottom says "query sent, waiting reply".

OK, fair enough. I close Dillo, re-open the script, fix the error, save it. Re-open Dillo, try to access the script again. Again, nothing happens, even though it should work now.

I know, you're probably thinking I haven't fixed it, and I'm missing an error. I thought so too, so I copied and pasted my script into a new file, saved it under a new name, and geuss what? That runs fine.

Now obviously, I can work around this by just constantly re-naming my scripts, but to be honest thats a complete pain. Does anyone have any idea why this happening, and how I can stop it?

Thanks in advance

Neil

lees 05-23-2006 05:42 AM

Hi, this is not really my area but you could try appending a ? after your address. I think this might stop the browser from giving you a cached version.

Just a guess but it will take a second to try.


All times are GMT -5. The time now is 08:46 AM.