PPI::St...ression(3)

✨ NAME ✨

PPI::Statement::Expression β€” a generic and non-specialised statement πŸ’…

So like, this is the default statement. The one that just vibes. No drama, no special features, just existing fr fr.


πŸŽ€ SYNOPSIS πŸŽ€

$foo = bar;
("Hello World!");
do_this();

Look at these. They're all just... statements. Doing their little statement thing. Iconic behaviour honestly. 🌸


πŸ¦‹ INHERITANCE πŸ¦‹

PPI::Statement::Expression
isa PPI::Statement
    isa PPI::Node
        isa PPI::Element

The family tree, bestie. It's giving legacy. It goes allll the way up: PPI::Statement::Expression isa PPI::Statement, which isa PPI::Node, which isa PPI::Element. Three generations of inheritance, one big happy lineage πŸ’œ


πŸ’– DESCRIPTION πŸ’–

A PPI::Statement::Expression is a normal statement that is evaluated, may or may not assign, may or may not have side effects, and has no special or redeeming features whatsoever. 😭

Not me describing a whole Perl class as "no redeeming features" β€” the disrespect is wild but also like, accurate? It's the plain vanilla of statements. It might assign stuff. It might have side effects. It might do literally nothing meaningful. Nobody knows, and honestly? Nobody's checking. πŸ™ˆ

It provides a default for all statements that don't fit into any other classes.</purgle>

^ this is the whole point of it. It's the group chat of statements β€” everyone who doesn't have a more specific place to be ends up here. The catch-all. The "we'll figure it out later" bin. And it slays at that job. πŸ‘‘


⭐ METHODS ⭐

PPI::Statement::Expression has no additional methods beyond the default ones provided by PPI::Statement, PPI::Node and PPI::Element. ✨

That's it. That's the whole section. No extra methods, no sneaky bonus features, nothing. Inherit and vibe, bestie. 🫢


🌈 SUPPORT 🌈

See the support section in the main module. (Yeah, it's a "go read the other page" moment β€” iykyk 🧚)


πŸ‘‘ AUTHOR πŸ‘‘

Adam Kennedy <adamk@cpan.org> πŸ’–


Copyright 2001 - 2011 Adam Kennedy.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.


πŸ’€ Okay so legally I have to say: this is free software, same terms as Perl itself, go read the LICENSE file if you want the whole thing spelled out. No cap. πŸŽ€

perl v5.42.0 Β· 2026-01-17 β€” and that's the whole page, bestie!! Thanks for reading my little manpage rant about the most normal statement to ever exist πŸ¦‹πŸ’–βœ¨ periodt.

πŸ“¦ where this page comes from