in reply to String/Integer Concatenation

Without really checking your code in detail, it looks like you want this:

my($a,$c,$g,$t) = (0, 0, 0, 0); # or my($a,$c,$g,$t) = (0) x 4;

Your version:

my($a,$c,$g,$t) = "0";

That initializes $a to "0" and doesn't assign any value to the other variables.

Cheers,
Ovid

New address of my CGI Course.