You need to read perlsec. After that it should be obvious why $width and $height are tainted. The short version: data coming from external sources is always tainted and will cause errors when running under -T.
-sam
Comment on Re: Re: Re: Another day, another Tk question