in reply to Re^3: Using Tk inside a Perl exe
in thread Using Tk inside a Perl exe

Using the path resources/icon.png instead of just icon.png is working. Thanks a lot! :)

Replies are listed 'Best First'.
Re^5: Using Tk inside a Perl exe
by marto (Cardinal) on Nov 19, 2018 at 10:52 UTC

    As I say, I think it's likely that there's a better way to achieve what you want to do, more portable in so much that it'd work as a standalone script and packaged version. Some details or a small example of how you want to use the icon.png would likely be sufficient for someone in the know to point you in the right direction.

      I've build a small application using Tk::Zinc and Tk routines. I need resources to display buttons a user can click on (those are the PNGs). I found Tk:Zinc more easy to control the display, and it also supports acceleration from graphic cards if available. Tk::Zinc:Graphics is calling Tk::findINC, and from there was coming my issue.