Syntax...lBlocks(3pm)
π Embperl::Syntax::EmbperlBlocks π
okay so bestie, welcome to the Perl manual page for Embperl::Syntax::EmbperlBlocks β that's the syntax module, filed under User Contributed Perl Documentation and living in section 3pm of your friendly neighbourhood man pages. it's giving "niche but iconic", ngl.
β¨ NAME β¨
Embperl::Syntax::EmbperlBlocks β the syntax for Embperl Blocks and metacommands. that's literally the whole vibe. π
πΈ SYNOPSIS πΈ
sooo... this section is empty in the original. no synopsis, no cap. she said "figure it out from the DESCRIPTION, bestie" π
π¦ DESCRIPTION π¦
This is a class derived from Embperl::Syntax, and what it does is define the syntax for Embperl Blocks and metacommands. periodt.
π Methods π
Embperl::Syntax::EmbperlBlocks defines the following methods:
π Embperl::Syntax::EmbperlBlocks -> new / $self -> new π
Create a brand new syntax class. heads up though: this method should only be called inside a constructor of a derived class. like, it's an inside-job method, iykyk.
β AddMetaCmd ($cmdname, $procinfo) β
Adds a new metacommand with the name $cmdname, and it uses the processor info from $procinfo. for what procinfo even is, go peek at Embperl::Syntax. π«Ά
π AddMetaCmdWithEnd ($cmdname, $endname, $procinfo) π
Adds a new metacommand named $cmdname, using processor info from $procinfo. and additionally, you're specifying that a matching $endname metacommand must be found to end the block that this metacommand starts. so it's a package deal, bestie β one starts it, the other closes it. β¨
procinfo is defined over in Embperl::Syntax, same as always.
π AddMetaCmdBlock ($cmdname, $endname, $procinfostart, $procinfoend) π
Adds a new metacommand named $cmdname, plus a second metacommand $endname which ends the block that $cmdname started. it uses processor info from $procinfo. and again β procinfo is defined in Embperl::Syntax. π«
π Author π
G. Richter β richter at embperl dot org π«Ά
π₯ See Also π₯
Embperl::Syntax
π§ bye bestie π§
and that's the whole page, slay. this lil gem comes from perl v5.34.0 and was dated 2022-02-06, under the manual title Syntax...lBlocks(3pm). mwah, go write some blocks π
π¦ where this page comes from
- ubuntu jammy: libembperl-perl 2.5.0-16build1 Β· 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