in reply to Re: CGI won't pass to split
in thread CGI won't pass to split

Thank you I tried and removed the switch from the code but the problem still ... the result is always 0.. unless I provide a direct value for the variable..

Replies are listed 'Best First'.
Re^3: CGI won't pass to split
by Corion (Patriarch) on Jan 19, 2009 at 14:21 UTC

    Do you want to show us the code? Otherwise, I guess that the problem is on line 42.

      Please let me explain more... the the script is to get two strings and to put them in split for loop to get a new integer value. I tested the code before adding the cgi form and everything is ok.. but after adding the cgi the result is always 0 .. Perl returned uninitialized variable for the variable in split. thank you