perl5
perl5 copied to clipboard
[doc] A slight addition to perlclass document: how to call method
Where: The perlclass document in perldoc
Hi, thank you for read this!
I noticed that the only way to know how to call a method from a object of current perl class is read the SYNOPSIS part in perlclass and deduce it from example.
Can you add one line to there like:
A method can be called from a object by the arrow operator
object->method_name()
I understand the old system surround bless and read the article about the class feature on p5p, but perlclass promise it is new and native, so I really spent some time to know that I just need to use -> here.
Have a nice day.