develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [perl #24338] Attribute::Handlers will trash UNIVERSAL

Thread Previous
Damian Conway
November 2, 2003 15:33
Re: [perl #24338] Attribute::Handlers will trash UNIVERSAL
Message ID:
Chip wrote:

> What if you arranged for the class pushed onto @UNIVERSAL::ISA to have
> absolutely *nothing* in it other than the required functions?  No
> &import, no &AUTOLOAD, etc.  Would that ameliorate the current problems?

That's do-able (modulo lack of tuits).

About the only drawback would be the loss of the sensible error message 
generated by the existing AUTOLOAD. That's probably a small price to
pay to make others happy.

I'll schedule it into my high priority ToDo list <bitter laughter>.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About