Thread Template Include (49 answers)
Opened by tomlong at 2004-04-04 20:44

ptk
 2004-06-07 13:58
#1938 #1938
User since
2003-11-28
3645 Artikel
ModeratorIn
[default_avatar]
[quote=Dieter,06.06.2004, 18:38]
Code: (dl )
    package Template;
[/quote]
Besser einen anderen Namen waehlen --- Template ist im CPAN bereits fuer das Template-Toolkit reserviert. Um Namenskonflikte zu vermeiden, kann man einen "_" im Modulnamen unterbringen. Siehe auch perldoc perlmodlib:

If developing modules for private internal or project specific use, that will never be released to the public, then you should ensure that their names will not clash with any future public module. You can do this either by using the reserved Local::* category or by using a category name that includes an underscore like Foo_Corp::*.

Ich habe den Thread nicht genauer verfolgt, aber: wozu das 1000ste Templatingsystem fuer Perl?

View full thread Template Include