![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Thoughts on new 'class' OO in upcoming perlby haj (Vicar) |
on Mar 06, 2023 at 20:16 UTC ( [id://11150801]=note: print w/replies, xml ) | Need Help?? |
Note that you can have "traditional" subroutines declared as sub create ($class,%args) in a class. The method keyword just simplifies the signature declaration because the class (for common methods) or instance(for object methods) are implied and provided as lexicals.
In Section
Meditations
|
|