comparison plugins/perl/perl.c @ 6523:d7e04709be96

[gaim-migrate @ 7040] Fixed a perl function call, and changed gaim_account_set_user_info to update the server when called from a perl script. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 20 Aug 2003 10:38:41 +0000
parents 0c5233faceb8
children 2d9857a0d8a3
comparison
equal deleted inserted replaced
6522:0c5233faceb8 6523:d7e04709be96
138 "my $strin=load_file($f_name);" 138 "my $strin=load_file($f_name);"
139 "return 2 if($strin eq \"__FAILED__\");" 139 "return 2 if($strin eq \"__FAILED__\");"
140 "eval $strin;" 140 "eval $strin;"
141 "if($@){" 141 "if($@){"
142 /*" #something went wrong\n"*/ 142 /*" #something went wrong\n"*/
143 "GAIM::print(\"Errors loading file $f_name:\\n\",\"$@\");" 143 "Gaim::debug(\"perl\", \"Errors loading file $f_name:\\n\",\"$@\");"
144 "return 1;" 144 "return 1;"
145 "}" 145 "}"
146 "return 0;" 146 "return 0;"
147 "}" 147 "}"
148 }; 148 };