Skip Menu |

This queue is for tickets about the Tcl-pTk CPAN distribution.

Report information
The Basics
Id: 125390
Status: new
Priority: 0/
Queue: Tcl-pTk

People
Owner: Nobody in particular
Requestors: CAC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.92
Fixed in: (no value)



Subject: bare `Exists` not working under TkHijack
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.