I need some help with my cgi script.
I try to use Log::Trivial module that enable very simple log writing.
The problem is that when script invoked directly it does his job ( i.e. ./script.cgi )
but when it's running as cgi script ( i.e. HTML sends request to apache and apche runs the script ), I get the following error:
"Can't use an undefined value as a symbol reference at /usr/lib/perl5/site_perl/5.8.0/Log/Trivial.pm line 169 "
Actually I did not some special configuration on Apache server.
Please help