in reply to use Tk; fails

You haven't posted the full error message, but from what you have provided, a possibility might be that perl can't find Tk.pm in the library paths stored in the @INC array.

Your error message indicates that perl has printed out contents of @INC to notify that none of these library paths contained Tk.pm

Replies are listed 'Best First'.
Re^2: use Tk; fails
by Anonymous Monk on Dec 09, 2011 at 08:58 UTC
    Hi, there is no possibility of that, the error message would be of the form
    $ perl -MSumeet -e 1 Can't locate Sumeet.pm in @INC (@INC contains ...

      Thanks for pointing this out. You're right. The error message posted on this question was tiny enough that I found it hard to read...