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

Re: Undefined subroutine in the included templates


Yes,it's the real problem.Thank you,Perrin.

Can I resolve this problem by replacing 'require' to 'do' ?

>
>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.
>



--
Books below translated by me to Chinese.
Practical mod_perl: http://home.earthlink.net/~pangj/mod_perl/
Squid the Definitive Guide: http://home.earthlink.net/~pangj/squid/


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