When executing this small Tk program:

#!perl -w
use strict;
use Tk;
use Tk::Text;
my $mw = MainWindow->new(-title => "$0 $$");
my $text = $mw->Scrolled('Text', -wrap => 'none')->pack(-expand => 'y',
    -fill => 'both');
foreach (sort { lc($a) cmp lc($b) } keys %INC) {
    $text->insert('end', "key $_\t\tvalue $INC{$_}\n");
}
MainLoop;


I get the following error:

Can't locate loadable object for module Tk::Text in @INC (@INC contains: 
CODE(0x13b071c) CODE(0x142ca84) .) at ../blib/lib/PAR/Heavy.pm line 101
Compilation failed in require at script/t.pl line 4.
BEGIN failed--compilation aborted at script/t.pl line 4.

The file "Text.dll" is in the cache directory. Other non-Tk programs are working. This 
program works in PAR 0.77.

Alan Stewart

Reply via email to