in reply to Re: Re: Re: Why get() and set() accessor methods are evil
in thread Why get() and set() accessor methods are evil
And so on and so forth.package ArrayList; my $i; sub new{shift;return bless{[@_]=>shift};} sub iterate{return $_[0]->[$i++]}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Why get() and set() accessor methods are evil
by hardburn (Abbot) on Nov 25, 2003 at 18:57 UTC |