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
If a program uses Exists (and possibly other symbols) instead of Tk::Exists, an error results:
Can't locate object method "Exists" via package "MyPackage" at MyPackage.pm line nnn.
One workaround is to replace Exists with Tk::Exists.
I'm not yet sure what causes this. Tcl/pTk.pm does have @EXPORT (@perlTk, …); where my @perlTk = qw(… Exists …);, and TkHijack.pm redefines Tk::Exists to Tcl::pTk::Exists. And most other bare symbols like MainLoop seem to work fine.
The text was updated successfully, but these errors were encountered:
(Migrated from https://rt.cpan.org/Ticket/Display.html?id=125390.)
If a program uses
Exists
(and possibly other symbols) instead ofTk::Exists
, an error results:One workaround is to replace
Exists
withTk::Exists
.I'm not yet sure what causes this. Tcl/pTk.pm does have
@EXPORT (@perlTk, …);
wheremy @perlTk = qw(… Exists …);
, and TkHijack.pm redefinesTk::Exists
toTcl::pTk::Exists
. And most other bare symbols likeMainLoop
seem to work fine.The text was updated successfully, but these errors were encountered: