Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl @INC error

by robot_tourist (Hermit)
on May 09, 2007 at 15:03 UTC ( #614407=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Perl @INC error
Re^2: Perl @INC error
by merrymonk (Friar) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://614407]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-10-23 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (124 votes), past polls