PPI::To...perator(3)
π PPI::Token::Operator β the glow-up page
okay bestie, so this is the manual page for PPI::Token::Operator (yeah, the header up top says PPI::To...perator(3) because terminals are dramatic and truncate everything, but we know what it really is π«Ά). It's the token class for operators. Slay.
β¨ NAME β¨
PPI::Token::Operator β literally the token class for operators, no cap π
𧬠INHERITANCE π§¬
the family tree goes like this, and yes it's giving royal lineage π
PPI::Token::Operator
isa PPI::Token
isa PPI::Element
so it's a PPI::Token, which is a PPI::Element. iconic behaviour, honestly.
π SYNOPSIS π
here's the whole squad β the list of valid operators. memorize it like it's your fave playlist π
# This is the list of valid operators
++ -- ** ! ~ + -
=~ !~ * / % x
<< >> lt gt le ge cmp ~~
== != <=> . .. ... ,
& | ^ && || //
? : **= += -= .= *= /=
%= x= &= |= ^= <<= >>= &&=
||= //= < > <= >= <> => ->
and or xor not eq ne <<>>
that's the list. every single one. don't come for me about the spacing, it's verbatim bestie π
π DESCRIPTION π
so like β every operator in PPI gets created as a PPI::Token::Operator object. all of them. even the ones that look like they could be a PPI::Token::Word object at first glance π. superficial vibes only, they're still operators underneath. main character energy fr fr.
π οΈ METHODS π οΈ
bad news for anyone hoping for extra lore: there are no additional methods beyond the ones your parents already gave you β those being the PPI::Token and PPI::Element classes. inherit and thrive, periodt π
π SUPPORT π
go check the support section in the main module. it's right there, bestie, I promise π«Ά
π AUTHOR π
Adam Kennedy <adamk@cpan.org>
(legend behaviour, we stan π)
π COPYRIGHT π
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.
bestie please actually read the LICENSE file, it's right there, it takes two seconds π₯Ί
and that's the whole page!! sign-off time: this was perl v5.42.0, dated 2026-01-17, and the footer says PPI::To...perator(3) again because truncation never sleeps ππ bye bestie, go write some tokens πΈβ¨π¦
π¦ where this page comes from
- fedora 44: perl-PPI 1.284-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms