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

What happens when you fill in the action attribute with an absolute URI rather than leaving it blank?

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Re^4: why am i getting script error 500
by ketaki (Acolyte) on Jun 22, 2008 at 12:34 UTC
    hey... thanx ... i replaced the blank in action to the url and it works now.... but 1 strange thing is happening now after this change... it is not displaying the contents of frame.txt any more. why so? thanx, ketaki
      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.

        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