Use
Code:
if (($itemcount{123456} == 1) && ($itemcount{78910} ==1) && ($itemcount{23456} == 1))
etc.. enclose each $itemcount{} == X in it's own set of parenthesis, AND enclosed them all in one () as well...
And I am not too sure Else is part of Perl's else statements, may try 'elsif' instead, not sure though. GL.
The_Horrid