You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@bzimage-it I think you meant to put "instead of Tk::findINC" in the title of this issue.
Indeed the only example of Tk::findINC I found in the Perl/Tk distribution is in t/zzPhoto.t.
I'm not familiar with using findINC, but according to Mastering Perl/Tk §13.24 "Really Miscellaneous Methods", there is (or was) a distinction between using Tk::findINC and Tk->findINC:
Tk->findINC searches for files in all Tk subdirectories of the current @INC path. […] If using the form Tk::findINC, then only @INC is searched, not the subdirectories.
my
/usr/lib/x86_64-linux-gnu/perl5/5.22/Tk.pm
shows to me:Since it has not the
my $self = shift;
instruction at the beginning it seems to be used with :: operator, not with -> ;however the 'demo' directory examples widely use the -> in fact:
I suppose the bug is in demo files due
findINC
shall be static as defined.The text was updated successfully, but these errors were encountered: