in reply to Printing last element of hash (unintentionally)

$specifics is never declared and never assigned a value. Therefore is it an empty string at the beginning of your program, and an empty string in the HTML, and an empty string at the final print.

P.S. You loop over all the keys in %data, and exit the program after the first iteration of the loop.

P.P.S. I suspect you intend the code to have a use CGI;

--
TTTATCGGTCGTTATATAGATGTTTGCA

  • Comment on Re: Printing last element of hash (unintentionally)