测试失败,不知道怎么解决。
# Failed test 'Environment - REMOTE_ADDR'
# at t/04cgi.t line 64.
# 'HTTP/1.0 200 OK
# Content-Type: text/html
# Content-Length: 27
#
# REMOTE_ADDR: 17x.x.x.x'
# doesn't match '/REMOTE_ADDR: 127.0.0.1/'
t/04cgi.t .......... 19/23 # Looks like you failed 1 test of 23.
t/04cgi.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/23 subtests
显然,环境变量设置为 VPS 的主机 ip;不是 127.0.0.1?