perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <per...@elem.com>
Subject Re: Undefined subroutine in the included templates
Date Mon, 20 Nov 2006 15:25:50 GMT
Jeff Pang wrote:
> Sorry I don't think so since both the template name and the
> subroutine name are unique in my project,why I got that name
> collisions?

The error is not about you having multiple subs with the same name. 
It's about loading the same file with require() in more than one CGI. 
The second one will not load it because it's already in %INC.

- Perrin

Mime
View raw message