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

Re: Undefined subroutine in the included templates



>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 unique in my project,why I got that name collisions?
(Also Stas Bekman's this doc on Apache site is translated by me to Chinese:
http://perl.apache.org/docs/offsite/books.html#Practical_mod_perl )


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