develooper Front page | perl.module-authors | Postings from November 2003

Re: Class::FakeAttributes -- Opinions Wanted

Thread Previous | Thread Next
From:
A. Pagaltzis
Date:
November 3, 2003 10:57
Subject:
Re: Class::FakeAttributes -- Opinions Wanted
Message ID:
20031103185657.GA1640@klangraum
* fergal@esatclear.ie <fergal@esatclear.ie> [2003-11-03 19:42]:
> Wouldn't this do what you want (roughly, it may not actually
> compile...)

Not really. The idea would be to (be able to) have attributes
stored in tightly scoped lexical hashes.. which doesn't seem
doable other than by a source filter (ick!).

If you don't mind a broader scope (like package variables) it's
easily doable.

-- 
Regards,
Aristotle
 
"If you can't laugh at yourself, you don't take life seriously enough."

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About