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 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