![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Re: Re: Beginner's Object Orientation Exercises?by nop (Hermit) |
on Mar 18, 2002 at 03:04 UTC ( #152395=note: print w/replies, xml ) | Need Help?? |
Errrr..... there's no OO in your example. There's no object. No blessed reference. You hold state in globals -- yack! Perhaps give a closer read to
perlboot,
perltoot,
perltootc,
perlobj,and
perlbot. When done properly, the same code should support more than one flashlight -- with no conflicts between them. nop
In Section
Seekers of Perl Wisdom
|
|