Class-Generate - initialising attribute classes

Posted on Sat Aug 9 06:56:35 2008 by lostsole
initialising attribute classes
Hi I want to have an attribute that is a class .. slave=>{type=>'FileHandle'}, and create an instance during initilisation of the main class. I tried $self->slave->new and $self->slave = new FileHandle with no success. What's the secret ? Kind regards, lostsole.
Direct Responses: 8518 | Write a response