Skip to content

[doc] A slight addition to perlclass document: how to call method #23453

@LiYiyen

Description

@LiYiyen

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions