This is just a shot in the dark, as I don't have Tk installed and have never used it, but did you try removing the single quotes around '-format'? I know that's exactly how it is in the perldoc for Tk::Animation, but maybe it's a typo or oversight by the author.