Hi, I am new to using the package, and I cannot run the first simple Hello 
World program taken from the How-To section:

#!/usr/bin/perl
use strict;
use Win32::GUI;

$main = Win32::GUI::Window->new(-name=> 'Main' -width => 100, -height => 100);
$main->AddLabel(-text => "Hello, world", -name => 'label');
$main->Show();
Win32::GUI::Dialog();

sub Main_Terminate{
    -1;
}

this is the error I got:

Can't locate loadable object for module Win32::GUI in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach 
/usr/libdata/perl/5.00503) at ./first.pl line 4
BEGIN failed--compilation aborted at ./first.pl line 4.
Out of memory!
Segmentation fault (core dumped)

What's wrong?!

Reply via email to