PPI::To...::Words(3)

✨ NAME ✨

PPI::Token::QuoteLike::Words β€” bestie, it's the word list constructor quote-like operator πŸ’–


πŸ¦‹ INHERITANCE πŸ¦‹

okay so the family tree goes like this, no cap:

PPI::Token::QuoteLike::Words
isa PPI::Token::QuoteLike
    isa PPI::Token
        isa PPI::Element

so yeah, she's a PPI::Token::QuoteLike, which is a PPI::Token, which is a PPI::Element. generational wealth honestly πŸ‘‘


🌸 DESCRIPTION 🌸

A PPI::Token::QuoteLike::Words object is literally the vibe of a quote-like operator that acts as a constructor for a list of words. it's giving "I hold many words at once" energy πŸŽ€

like, for example:

# Create a list for a significant chunk of the alphabet
my @list = qw{a b c d e f g h i j k l};

look at her go 🫢


πŸ’… METHODS πŸ’…

🌈 literal

Returns the words contained as a list.

⚠️ heads up bestie: this method does not check the context that the token is in β€” it always returns the list, and not merely the last element, even if the token is in scalar context. she does not care about your context. she returns the whole list. periodt πŸ’€

πŸŽ€ SUPPORT πŸŽ€

See the support section in the main module. 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.


and that's the whole page, bestie πŸ¦‹ this was perl v5.42.0, dated 2026-01-17, and the manual name is PPI::To...::Words β€” slay, go read some tokens, mwah πŸ’…πŸ’œ

πŸ“¦ where this page comes from