in reply to not in INC

Does line 259 say...
use Tk::AddScrollbars;
? A look at your code would be helpful.

Replies are listed 'Best First'.
Re: Re: not in INC
by opus1 (Initiate) on May 16, 2002 at 16:30 UTC
    Thanks, I've corrected the problem. The referenced line in the error is below. This is part of "". After some frustration I thought back to the CPAN install of the Tk module and remembered that though everything finally installed it had some issues in finding some of the c headers required to compile. I thought I had corrected the problem and that the installation had completed successfully. But just in case I removed the module; insured all the required header and lib files were in the right directories and reloaded the module through CPAN. Now everthing appears to function correctly. I can't point to just what the issue was in the first installation but assume that one of compilations failed and only produced a warning and the install progressed.
    255 sub _AutoloadTkWidget 256 { 257 my ($self,$method) = @_; 258 my $what = "Tk::Widget::$method"; 259 unless (defined &$what) 260 { 261 require "Tk/$"; 262 } 263 return $what; 264 }