Joshua Ferraro wrote: > How do those apps deal with the 'uninitialized variable' warnings that are > so pervasive in Perl apps? 'no warnings uninitialized' perhaps?
I never allow uninitialised variables in my perl code. It is simply better to be consistent across all programming languages I use and make that the "best practice". Can you give me an example where an uninitialised variable is *necessary* to get a perl code segment working? So far, I have always found a way to avoid that warning message. And when I see it, I fix the problem. More thoughts on error_log: I have had great trouble finding "interesting" errors and warnings in the Koha error log due to the excessive amount of DEBUG messages from Koha and warnings from Perl and the MySQL DBI. Has consideration been given to a global debug(string) function that can be used to control the printing of debug information? Or even debug(string,debuglevel) ? cheer rickw -- ________________________________________________________________ Rick Welykochy || Praxis Services || Internet Driving Instructor When the power of love overcomes the love of power, the world will know peace. -- Jimi Hendrix _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel