> Here's the script minus all the additional 'pp' requirements:
> -------------------------------------------------
> #!perl -w
> use Tk;
> use Tk::LabEntry;
> use Tk::Widget;
> use Tk::Frame;
> $mw = MainWindow->new;
> $scrollbar = $mw->Scrolled('Listbox');
> $scrollbar->insert(0, qw(hi bye));
> $scrollbar->pack();
> MainLoop;
> -----------------------------------------------------------
Hmmm, I don't know what I'm doing differently, but the above testcase and
other more complicated testcases with lots of tk widgets all work fine for
me on both windows and linux.
I simple put the above in a file called test_tk.pl, ran pp test_tk.pl. The
resulting a.exe (a.out on linux) ran fine on both the box it was compiled on
and on boxes without perl installed (or installed differently).
Note, this only started working for me with the fixes that were put into
0.66.
I'm running perl 5.8 on both linux and windows. Maybe you are trying it on
5.6?
Bruce