This little script:
#!perl
use warnings;
use strict;
use Tk;
my $main = MainWindow->new;
use Tk::FileDialog;
my $LoadDialog = $main->FileDialog;
MainLoop;
gives me the Subject error on the PC I've moved it to, but not on the one I originally wrote it on. I'm running ActiveState Perl 5.8.8 build 822 (just installed it, since I was having the problem on build 818). I don't know what version the previous machine was running, though it was ActiveState.
I can't make sense of the error message. Ideas, anyone?
Caution: Contents may have been coded under pressure.