Re: Undefined subroutine in the included templates

2006-11-21 Thread Jeff Pang
You're running into this problem: http://perl.apache.org/docs/1.0/guide/porting.html#Name_collisions_with_Modules_and_libs The best solution is to put your subs into a namespace with a package declaration. Sorry I don't think so since both the template name and the subroutine name are

Re: Undefined subroutine in the included templates

2006-11-19 Thread Perrin Harkins
Jeff Pang wrote: [error] Undefined subroutine Apache::ROOT::groups::listMembers_2epl::print_groupshow_head called at /home/apache1.3/modperl/listMembers.pl line 26.\n You're running into this problem: http://perl.apache.org/docs/1.0/guide/porting.html#Name_collisions_with_Modules_and_libs

Undefined subroutine in the included templates

2006-11-18 Thread Jeff Pang
Hello,lists, I have a strange problem for my modperl programs which are run under Apache::Registry (MP1). In my script I require some templates like: require templates/groupshow_head.tpl; Here groupshow_head.tpl is a template file which primarily print chunk of HTML codes in subroutine,like: