I have a perl_Tk script which has recently started aborting with the following message.
Can't locate loadable object for module Tk::Canvas in @INC (@INC conta +ins: C:\Us ers\Bill\Perl\lib C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread + C:/Strawb erry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/li +b) at C:\U sers\Bill\projects\fractal\mandelbrotTk.pl line 25. Compilation failed in require at C:/Strawberry/perl/site/lib/Tk/Widget +.pm line 268.
I am using Tk version 804.036001, Strawberry perl 5.38 under windows 7.
Strawberry perl 5.38 is the only perl on my computer. Several months ago I uninstalled a previous version of perl and installed 5.38, then installed Tk with the command cpan Tk. My existing script worked immediately and continued to until some time last week. I am certain that the script has not changed. I am not aware of any changes to perl, Tk, or any of its components, in fact, I have verified that the modules Tk.pm, Tk/widget.pm, and Tk/canvas.pm are all up to date and stored in C:/Strawberry/perl/site/lib. Another Tk script (which does not use canvas) still works.
Does "loadable object" refer to anything other than Tk/canvas.pm? I would appreciate any suggestion on finding and fixing the problem. Of course, I will post any additional material which may be helpful.
In reply to Tk::Canvas not working by BillKSmith
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |