use Glib qw(TRUE FALSE)
- From: ofey aikon <ofey_aikon yahoo com>
- To: gtk-perl-list gnome org
- Subject: use Glib qw(TRUE FALSE)
- Date: Mon, 10 Jan 2005 17:35:40 -0800 (PST)
In all the example files, I am unable to use the Glib constants on my windows installation. Any
suggestions on what I should be looking for ?
C:\Temp>perl -e "use Glib qw(TRUE FALSE)"
Argument "TRUE" isn't numeric in subroutine entry at C:/Perl/site/lib/Glib.pm line 39.
Argument "FALSE" isn't numeric in subroutine entry at C:/Perl/site/lib/Glib.pm line 39.
I can get scripts running by replacing the 'use Glib qw(TRUE FALSE)' with
use constant TRUE => 1;
use constant FALSE => !TRUE;
Thanks,
_Ofey.
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]