Just noted that in Apache error.log after turning debug level 1, every 2nd line is empty:
[Thu Mar 20 19:14:56 2003] [error] [client 127.0.0.1] GT::Plugins (3228): Plugin: pre auth_init running => Plugins::Auth_Community::auth_init at c:/work/cgi-bin/lsql212/admin/GT/Plugins.pm line 94.
[Thu Mar 20 19:14:56 2003] [error] [client 127.0.0.1] GT::Plugins (3228): Plugin: pre auth_valid_session running => Plugins::Auth_Community::auth_valid_session at c:/work/cgi-bin/lsql212/admin/GT/Plugins.pm line 94.
[Thu Mar 20 19:14:56 2003] [error] [client 127.0.0.1] GT::Plugins (3228): Plugin pre auth_valid_session stopped further plugins. at c:/work/cgi-bin/lsql212/admin/GT/Plugins.pm line 99.
So there is an unnecessary \n newline or \r printed to STDERR.
Likely this is the reason why chomp($msg) makes it working.
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
[Thu Mar 20 19:14:56 2003] [error] [client 127.0.0.1] GT::Plugins (3228): Plugin: pre auth_init running => Plugins::Auth_Community::auth_init at c:/work/cgi-bin/lsql212/admin/GT/Plugins.pm line 94.
[Thu Mar 20 19:14:56 2003] [error] [client 127.0.0.1] GT::Plugins (3228): Plugin: pre auth_valid_session running => Plugins::Auth_Community::auth_valid_session at c:/work/cgi-bin/lsql212/admin/GT/Plugins.pm line 94.
[Thu Mar 20 19:14:56 2003] [error] [client 127.0.0.1] GT::Plugins (3228): Plugin pre auth_valid_session stopped further plugins. at c:/work/cgi-bin/lsql212/admin/GT/Plugins.pm line 99.
So there is an unnecessary \n newline or \r printed to STDERR.
Likely this is the reason why chomp($msg) makes it working.
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...