Thanks. Looking at findINC it'll search @INC for a file. If icon.png is in the same directory as example.pl, example.pl fails to execute with the same error. I'm not a Tk expert [...]
Modern perls (since v5.26.0) no longer include '.' in @INC, so findINC no longer searches there.
Alexander
In reply to Re^4: Using Tk inside a Perl exe
by afoken
in thread Using Tk inside a Perl exe
by Garden Dwarf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |