查看: 991|回复: 0
|
connect mysql是出现的error msg (using perl-cgi)
[复制链接]
|
|
我写了一个cgi script 来connect mysql database, 但出现了这样的error:
Global symbol "$host" requires explicit package name at login.cgi line 42.
Global symbol "$database" requires explicit package name at login.cgi line 43.
Global symbol "$user" requires explicit package name at login.cgi line 44.
Global symbol "$db" requires explicit package name at login.cgi line 47.
Global symbol "$host" requires explicit package name at login.cgi line 47.
Global symbol "$database" requires explicit package name at login.cgi line 47.
Global symbol "$user" requires explicit package name at login.cgi line 47.
Global symbol "$db" requires explicit package name at login.cgi line 48.
Global symbol "$database" requires explicit package name at login.cgi line 48.
Global symbol "$pid" requires explicit package name at login.cgi line 50.
Global symbol "$db" requires explicit package name at login.cgi line 50.
Global symbol "%hash" requires explicit package name at login.cgi line 53.
Global symbol "$pid" requires explicit package name at login.cgi line 53.
Global symbol "$password_in_db" requires explicit package name at login.cgi line 55.
Global symbol "%hash" requires explicit package name at login.cgi line 55.
Global symbol "$password_in_db" requires explicit package name at login.cgi line 58.
Execution of login.cgi aborted due to compilation errors.
请问有人能告诉我是什么问题,非常谢谢你们的帮助! |
|
|
|
|
|
|
| |
本周最热论坛帖子
|