I am working in windows NT. I think there is a path setting problem. When I am 
giving the following command following error is coming.

D:\perl\Win32-GUI-0.0.558>perl try1.pl
Can't locate loadable object for module Win32::GUI in @INC (@INC contains: 
d:/perl/lib d:/pe
rl/site/lib .) at try1.pl line 1
Compilation failed in require at try1.pl line 1.
BEGIN failed--compilation aborted at try1.pl line 1.


Source code for try1.help is:
use Win32::GUI;
    $main = Win32::GUI::Window->new(
                -name   => 'Main',
                -width  => 100,
                -height => 100,
        );
    $main->AddLabel(-text => "Hello, world");
    $main->Show();
    Win32::GUI::Dialog();


    sub Main_Terminate {
        -1;
    }



Reply via email to