Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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
Replies are listed 'Best First'.
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 meditating upon the Monastery: (13)
As of 2015-07-30 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls