BillKSmith has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tk::Canvas not working
by syphilis (Archbishop) on Dec 05, 2024 at 00:08 UTC | |
by BillKSmith (Monsignor) on Dec 05, 2024 at 14:38 UTC | |
by syphilis (Archbishop) on Dec 06, 2024 at 00:30 UTC | |
by BillKSmith (Monsignor) on Dec 08, 2024 at 22:00 UTC | |
by syphilis (Archbishop) on Dec 09, 2024 at 00:52 UTC | |
| |
by harangzsolt33 (Deacon) on Dec 09, 2024 at 03:56 UTC | |
|