i have a problem to use Glib::g_locale_to_utf8
- From: 刘超 <sysa vipci com>
- To: gtk-perl-list gnome org
- Subject: i have a problem to use Glib::g_locale_to_utf8
- Date: Sat, 22 Nov 2003 03:04:47 +0800
hi:
nice for meet all in this mailist,i'm a newbie to use gtk2-perl
binding(and perl),so when i call this fuction in my script like this
#!/usr/bin/perl
use Glib;
$re=Glib::g_locale_to_utf8 "xxxx"; #some utf8 string in the args.
print $re;
i got the error messages like this
String found where operator expected at new.pl line 7, near
"Glib::g_locale_to_utf8 "xxxx""
(Do you need to predeclare Glib::g_locale_to_utf8?)
syntax error at new.pl line 7, near "Glib::g_locale_to_utf8 "xxxx""
Execution of new.pl aborted due to compilation errors.
how can i call this fucntion in my script?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]