The error you gave above is in the HTML_Templates.pm file.
That is after you make the call to write out the template, so you must have done something when adding in the variable.
Make sure you have a:
use Links::DB_Utils;
at the top of your HTML_Templates.pm file. I don't remember if that is in there by default, or if we've added it over time.
Also, you need to add:
&get_totalcats
To the @EXPORT array at the top of DB_UTILS.pm ... just spaces, no commas, just follow the other examples.
http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/
That is after you make the call to write out the template, so you must have done something when adding in the variable.
Make sure you have a:
use Links::DB_Utils;
at the top of your HTML_Templates.pm file. I don't remember if that is in there by default, or if we've added it over time.
Also, you need to add:
&get_totalcats
To the @EXPORT array at the top of DB_UTILS.pm ... just spaces, no commas, just follow the other examples.
http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/