perlmeditation
goldenblue
<p>
after reading through <em>PerlMonks Sections</em> I decided this post should go here...
</p><p>
I have been using Autoload extensively for my getters and setters, and refrained from "auto-writing" them, basically because I didn't like how it looked in the code.
</p><p>
I also stumbled across some code that uses a baseclass with a makeattr-method it uses as "initializer", to write these accessors, which I also find pretty cool...
</p><p>
Now I was wondering, which method do others prefer?
</p><p>
So I would like to open a discussion:
<ul> what are the advantages and drawbacks of each method, or do you see a third alternative? And which do you prefer?</ul>
</p><p>
Maybe someone with a higher level would like to make this into a poll?
</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-1056614">
<br>
--<br>
</div></div>