Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
CGI::Carp in Apache::Registryby bbfan (Novice) |
on Jan 24, 2012 at 21:32 UTC ( [id://949773]=perlquestion: print w/replies, xml ) | Need Help?? |
bbfan has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
Yet again I seek the wisdom of the sages. Per the subject line, have been successfully using:
in script1, script2 and script3 to log information. All was working well until the introduction of home-brewed precompilation of the scripts, which seemed to work well until I noticed that all the logging referred to just one of the scripts (for example, "script_2.cgi"). In a nutshell, the precompilation is great, but accurate logging is even better. Anyone have an idea how to resolve this problem so I can have both? Would prefer to stick with the home brewed, or a fixed version of it. The home brewed precompile (added to startup.pl) is: As always, many thanks for your consideration.
Back to
Seekers of Perl Wisdom
|
|