
banjiyaqub
Deleted
May 23, 2001, 6:25 AM
Post #1 of 4
(633 views)
|
|
A question on Win32 perl for a fresher
|
Can't Post
|
|
I m trying out the sample script I found on win32 perl, but while running the script I encounter an error message : C:\>perl hello.plx Can't locate Win32/GUI.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at hello.plx line 1. BEGIN failed--compilation aborted at hello.plx line 1. I have active perl 5.6 build 623 on my MS Windows NT workstaion OS. On the perl directory, I also have the file Win32.pm since I suspect that as a possible problem. What advice do you guys have for me ? See the script below. ---------------------- 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; }
|