http://www.perlmonks.org?node_id=192094


in reply to Perl2exe Problem

It's been a while since I've p2exe'd, but from what I recall, when using Tk, you must explicitly declare in the use statements the submodules that you need to use.

So try "use Tk::Photo;" at the top of your script.