in reply to $var$cnt problems
use strict; use warnings; [download]
UPDATE: Oops, maybe not. Thanks holli.