Well, with use Tk the program works, but requires use Tk::PNG as well. With use Tcl::pTk instead, I get the error couldn't recognize data in image file (...) Widget.pm line 332. So I assumed it doesn't have built-in PNG support either, just like the plain Tk. But I don't know, maybe I've done something else wrong.