Syntactic Confectionery Delight | |
PerlMonks |
Re: My first stab at OO perl...by astaines (Curate) |
on Jul 17, 2002 at 16:01 UTC ( [id://182479]=note: print w/replies, xml ) | Need Help?? |
Very nice - and far better than my first (or indeed current) attempts at OO code. One query - Is it a good idea to have a get_total function which does the additon. My first instinct would be to make add_expenses and delete_expenses keep the _TOTAL up to date at all times. Any opinons on this? -- Anthony Staines
In Section
Seekers of Perl Wisdom
|
|