in reply to Perl @INC error

What do you get when you run:

use warnings; use strict; print "Perl version: ", join ('.', unpack('C3', $^V)), "\n"; print "* $_\n" for @INC; require Tk; print "~ $_\n" for @INC;

What OS are you using (XP seems likely).


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: Perl @INC error
by merrymonk (Hermit) on May 11, 2007 at 16:01 UTC
    I get exaclty the same as in the error message, that is
    CODE(0xc1c15c). I am using XP.

      On two different computers running XP I get:

      Perl version: 5.8.8 * C:\Program Files\ActiveState Komodo 3.5\lib\support\dbgp\perllib * C:\Program Files\ActiveState Komodo 3.5\lib\support\dbgp\perllib * C:/Perl/site/lib * C:/Perl/lib * . ~ C:\Program Files\ActiveState Komodo 3.5\lib\support\dbgp\perllib ~ C:\Program Files\ActiveState Komodo 3.5\lib\support\dbgp\perllib ~ C:/Perl/site/lib ~ C:/Perl/lib ~ .

      Try uninstalling Tk and then reinstalling it.

      Note, I wasn't interested in the error message as such, we already had that information. I was more interested in confirming that the include path was sensible before Tk is loaded and trashed afterwards. You haven't actually confirmed that yet.


      DWIM is Perl's answer to Gödel
Re^2: Perl @INC error
by Anonymous Monk on May 10, 2007 at 04:02 UTC
    C:\>perl -e die$] 5.008007 at -e line 1.