Skip Menu |
 

This queue is for tickets about the Template-Plugin-LDAP CPAN distribution.

Report information
The Basics
Id: 39418
Status: resolved
Priority: 0/
Queue: Template-Plugin-LDAP

People
Owner: Nobody in particular
Requestors: dom [...] math.uni-bonn.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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>
Download (untitled) / with headers
text/plain 668b
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.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.