On 3/1/06, David Gilden <[EMAIL PROTECTED]> wrote: > I can not seem to get the following script to return the correct response. > Could someone point where I am off.
You forgot this line: return "the correct response"; # :-) Actually, now that my telepathy hat is on straight, I think you may have accidentally switched the keys and the values in your hash. Could it be that the second data item in each line is the logical "key"? If that's not what you meant, perhaps you should step through your code in the debugger until you see where it's not doing what you expect. See the perldebug manpage; and there's additional information about debugging in the documentation for the CGI module. Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>