|No such thing as a small change|
Perl Naming Conventionsby Anonymous Monk
|on Apr 28, 2003 at 19:11 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I'm in the middle of learning OO Perl. I'm wondering if there exist any conventions about naming methods, attributes, instance variables etc. My question isn't OO Perl specific and could also be extended to functional Perl.
Given a subroutine/method to get a value I saw the following versions:
Also with named attribute there are different versions:
The same applies to variable names, package/class names, etc.
Are there any specific suggetions, guidelines or conventions for this?