Subject: | Foward declaration of attribute functions |
Date: | Fri, 19 Sep 2008 16:47:45 +0200 |
To: | bug-Template-Plugin-LDAP [...] rt.cpan.org |
From: | Mario Domgoergen <dom [...] math.uni-bonn.de> |
Hello,
using the attribute accessor functions via autoload is not working in
the moment due the implementation of Universal::can. Template::Tolkit use
Universal::can in list_sort for example to check if it can safely call the
subroutine on the object before calling it. But Univeral::can only checks
for functions that are actually defined in the symbol table. The attached
patch solves this problem by using subroutine forward declarations for
all attributes.
Best regards,
Mario Domgoergen
--
Mario Domgoergen - Systemadministration
Mathematische Institut der Universitaet Bonn
Beringstrasse 4, 53115 Bonn / Zimmer 3
Tel.: +49-228-737773 / dom@math.uni-bonn.de
Message body is not shown because sender requested not to inline it.