in reply to Re (tilly) 1: oo perl - using the super-class
in thread oo perl - using the super-class
i want to say$trans = new TransactionA
and have $trans be an instance of TransactionA or TransactionB. i'm not up on oo terminology, but i think what i really want is a TransactionFactory class. again, i'm not sure but the above describes what i'm looking for. i'm just wondering if it's a good thing to look for or is there a better design to use?$trans = new Transaction($request);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re (tilly) 1: oo perl - using the super-class
by merlyn (Sage) on Oct 03, 2000 at 18:52 UTC | |
|
RE (tilly) 3: oo perl - using the super-class
by tilly (Archbishop) on Oct 03, 2000 at 18:53 UTC |