private/protected methods

[email protected] (Jonathan Swartz)
Newsgroups perl.moose
Message-ID <[email protected]>
Hi Stevan -

Do you have any intentions of supporting enforced private methods  
(not just attributes) in classes, i.e. a method that is defined with  
a normal sub {} but can only be called from the defining class?

If you do have intentions of supporting this someday, do you know  
what syntax you will use?

Thanks
Jon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.