http://www.perlmonks.org?node_id=614407


in reply to Perl @INC error

Can you show us exactly what statements you have that assign something to @INC?

@INC should at least contain the location of your Perl installation without you doing anything to it and in most cases that should include Tk.

Another possibility is that you haven't done use Tk correctly. Again, we'd need to see what you've written to be sure.

How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
Robot Tourist, by Ten Benson

Replies are listed 'Best First'.
Re^2: Perl @INC error
by merrymonk (Hermit) on May 09, 2007 at 15:08 UTC
    I have not written anything to load data into the @INC
    array (in fact I have never done this).
    Neither have done anything that I know of assciated with Tk.

      But what does your actual code say? Is it something like this?

      use strict; use warnings; use Tk; my $top = new MainWindow; MainLoop;

      How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
      Robot Tourist, by Ten Benson