Parse:...s::Sig(3pm)
π Parse::Method::Signatures::Sig(3pm) β the Method Signature girlie π
okay so bestie, welcome to Parse::Method::Signatures::Sig β¨ this is the Method Signature module, and yes it's the one from Parse:...s::Sig(3pm) (the header truncates it, we don't talk about that π). It's a Perl thing, it lives in the User Contributed Perl Documentation, and it is lowkey iconic.
β¨ NAME β¨
Parse::Method::Signatures::Sig β Method Signature. that's the whole vibe. short, sweet, slay π
πΈ DESCRIPTION πΈ
So basically? This class represents the parsed method signature. That's it. That's the job. It's the object that holds all the signature info once the parsing has already happened. main character energy, zero drama π
π¦ ATTRIBUTES π¦
invocant
okay so there's an invocant attribute. the original docs don't say a single word about it β not one β and I'm not about to make stuff up for you, bestie π it's just... there. sitting pretty. existing. iconic behaviour honestly β¨
named_params
A ParamCollection representing the name parameters of this signature. yes, a whole collection. named ones. we love a curated list π«Ά
positional_params
A ParamCollection representing the positional parameters of this signature. same energy, different flavour. positional girlies rise π
π METHODS π
has_named_params
A predicate returning true if this signature has named parameters. does she have them? this will tell you. no cap β
has_positional_params
A predicate returning true if this signature has positional parameters. same deal, positional edition π
named_param
Returns the Param with the specified name. you ask for a name, you get the Param. periodt π
to_string
Returns a string representation of this signature. it's giving "put me in a string and I'll look cute" β¨
π LICENSE π
Licensed under the same terms as Perl itself.
that's the legal tea, bestie β same terms as Perl, no extra fine print, we stay unbothered π§
okay and that's the whole page!! π this was Parse:...s::Sig(3pm) from perl v5.34.0, dated 2022-06-16, and honestly? she ate. go parse something, bestie, you got this π¦β¨π
π¦ where this page comes from
- debian bookworm: libparse-method-signatures-perl 1.003019-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libparse-method-signatures-perl 1.003019-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libparse-method-signatures-perl 1.003019-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libparse-method-signatures-perl 1.003019-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libparse-method-signatures-perl 1.003019-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms