Are you using some brand of Windows for running this example?  The reason I ask 
is I note the freebsd string in your @INC so I am assuming you are running this 
on a "IBM" compatible machine with freebsd installed rather than Windows. 
 
 This module will only work on a windows based OS.   If you need a cross 
platform Window manager perl module, you can try Tk or wxperl(?). 

Joe Frazier, Jr.
Technical Support Engineer
Peopleclick Service Support

Tel:  +1-800-841-2365
E-Mail: mailto:[EMAIL PROTECTED]


-----Original Message-----
From: Florbela Lei [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 9:59 AM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] Newbie Help


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