Hi pyh, On Thu, 16 Mar 2017 09:49:34 +0100 (CET) p...@vodafonemail.de wrote:
> Hello members, > > I was not sure, what purpose does module accessors exist for? > Do you mean https://metacpan.org/release/accessors ? If so, there are many other accessor generators on CPAN and object systems such as Moose or Moo provide many more features. For a little about the motivation behind setters, getters and accessors, see this page on a site I maintain (note the anchor): http://perl-begin.org/tutorials/perl-for-newbies/part5/#page--accessors--DIR Regards, Shlomi Fish > something similar to ruby's meta-programming? > > Thanks. -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/bits/Google-Discontinues-Services/ The first phrase that needs to be taught when teaching a new language is how to say “Do you speak English?”. The first thing that needs to be taught when teaching a new computer tool is how to exit it. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/