[Israel.pm] OO in perl question

Gaal Yahas gaal at forum2.org
Thu Nov 4 01:37:15 PST 2004


On Thu, Nov 04, 2004 at 11:08:06AM +0200, Issac Goldstand wrote:
> First of all, you can store "a" in the blessed variable that represents 
> your class...
> If that's not possible, then you can store $Da::a, $Db::a ... $Dk::a. In 
> class B, the get_a could do:
> return eval ("$".ref($_[0])."::a");

What is a blessed variable that represents a class?

-- 
Gaal Yahas <gaal at forum2.org>
http://gaal.livejournal.com/



More information about the Perl mailing list