Basically I created a module - Dbsql::stats and am calling the routines using function tags.
eg..
<%Dbsql::stats::routine('args')%>
....I have about 8 or 10 tags in a template and about 6-7 of them all work fine. However I then created a new subroutine in stats.pm and when I call it using a template tag it says the routine can't be found in stats.pm even though it is definitely there.
The subroutine is called ave. Im using the following tag:
<%Dbsql::stats::ave%>
...and it just gives an error. I've also tried adding () after ave...same thing.
Any help is appreciated thanks.
eg..
<%Dbsql::stats::routine('args')%>
....I have about 8 or 10 tags in a template and about 6-7 of them all work fine. However I then created a new subroutine in stats.pm and when I call it using a template tag it says the routine can't be found in stats.pm even though it is definitely there.
The subroutine is called ave. Im using the following tag:
<%Dbsql::stats::ave%>
...and it just gives an error. I've also tried adding () after ave...same thing.
Any help is appreciated thanks.