bugged123 has asked for the wisdom of the Perl Monks concerning the following question:
Can't locate loadable object for module Tk::Event in @INC (@INC contains: ./Tk/Event ./Tk C:/Perl/si te/lib C:/Perl/lib .) at Tk/Tk.pm line 14 Compilation failed in require at Tk/Tk.pm line 14. BEGIN failed--compilation aborted at Tk/Tk.pm line 14. Compilation failed in require at test.pl line 4. BEGIN failed--compilation aborted at test.pl line 4.
The code changes I made in Tk.pm are:Thanks,11 package Tk; 12 require 5.007; 13 use lib './Tk/Event'; #LINE I ADDED 14 use Tk::Event; 15 use AutoLoader qw(AUTOLOAD); 16 use DynaLoader; 17 use Cwd(); 18 use base qw(Exporter DynaLoader); 19 use File::Spec qw();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Including Perl Tk module in a different location
by cavac (Prior) on Nov 23, 2011 at 22:48 UTC | |
|
Re: Including Perl Tk module in a different location
by Marshall (Canon) on Nov 24, 2011 at 05:10 UTC | |
|
Re: Including Perl Tk module in a different location
by perl.j (Pilgrim) on Nov 24, 2011 at 03:21 UTC | |
by Anonymous Monk on Nov 24, 2011 at 06:22 UTC |