[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undefined subroutine in the included templates


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


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.