|Do you know where your variables are?|
Autoload versus auto-generating accessorsby goldenblue (Acolyte)
|on Feb 11, 2016 at 15:54 UTC||Need Help??|
after reading through PerlMonks Sections I decided this post should go here...
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.
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...
Now I was wondering, which method do others prefer?
So I would like to open a discussion:
Maybe someone with a higher level would like to make this into a poll?