[Israel.pm] bless and AUTOLOAD

Yona Shlomo yona at cs.technion.ac.il
Tue Sep 25 21:20:04 PDT 2007


On Tue, 25 Sep 2007, Gabor Szabo wrote:

> On 9/25/07, Yona Shlomo <yona at cs.technion.ac.il> wrote:
>> On Tue, 25 Sep 2007, Gabor Szabo wrote:
>> Your comment
>>> # to avoid triggering AUTOLOAD
>>
>> Is well in place, but alas, I'm too lazy to implement
>> several dozens of functions/methods that are the same except
>> for their name... and then change (all of them with no
>> mistakes) then when needed...
>
> I did not understand this one.
> What do you mean?

I agree with your statement that AUTOLOAD is best avoided.
However, its functionality helps me a lot with not writing
several dozens of similar functions that differ mostly by
name in one place and not worry about them and their
maintenance.


-- 
Shlomo Yona
yona at cs.technion.ac.il
http://yeda.cs.technion.ac.il/~yona/



More information about the Perl mailing list