in reply to Re^4: why am i getting script error 500
in thread why am i getting script error 500

Did you also take the earlier advice, re use strict and (though a wise general practice, not necessarily essential here) re param()?

You might also wish to close the <html> tag, as required by the spec.

Replies are listed 'Best First'.
Re^6: why am i getting script error 500
by ketaki (Acolyte) on Jun 23, 2008 at 04:03 UTC
    yes i replaced that cgi::vars statement with this one:
    my $step =param(step);
    but i removed 'use strict' becoz on viewing on the browser on net, it shows this error on the page :
    Bareword "step" not allowed while "strict subs" in use at /home/www/xx +xxxxxxxxxxxxxxx.org/cgi-bin/local.cgi line 11. Execution of /home/www/xxxxxxxxxxxxxxxxxxxx.org/cgi-bin/local.cgi abor +ted due to compilation errors.
    Any clue?thanx