The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

Search results for "module:PPI::Token::Operator"

PPI::Token::Operator - Token class for operators River stage four • 195 direct dependents • 1291 total dependents

All operators in PPI are created as "PPI::Token::Operator" objects, including the ones that may superficially look like a PPI::Token::Word object....

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI - Parse, Analyze and Manipulate Perl (without perl) River stage four • 195 direct dependents • 1291 total dependents

About this Document This is the PPI manual. It describes its reason for existing, its general structure, its use, an overview of the API, and provides a few implementation samples. Background The ability to read, and manipulate Perl (the language) pr...

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::Word - The generic "word" Token River stage four • 195 direct dependents • 1291 total dependents

A "PPI::Token::Word" object is a PPI-specific representation of several different types of word-like things, and is one of the most common Token classes found in typical documents. Specifically, it includes not only barewords, but also any other vali...

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::QuoteLike - Quote-like operator abstract base class River stage four • 195 direct dependents • 1291 total dependents

The "PPI::Token::QuoteLike" class is never instantiated, and simply provides a common abstract base class for the five quote-like operator classes. In PPI, a "quote-like" is the set of quote-like things that exclude the string quotes and regular expr...

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::HereDoc - Token class for the here-doc River stage four • 195 direct dependents • 1291 total dependents

Here-docs are incredibly handy when writing Perl, but incredibly tricky when parsing it, primarily because they don't follow the general flow of input. They jump ahead and nab lines directly off the input buffer. Whitespace and newlines may not matte...

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::Quote::Literal - The literal quote-like operator River stage four • 195 direct dependents • 1291 total dependents

A "PPI::Token::Quote::Literal" object represents a single literal quote-like operator, such as "q{foo bar}"....

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::Regexp - Regular expression abstract base class River stage four • 195 direct dependents • 1291 total dependents

The "PPI::Token::Regexp" class is never instantiated, and simply provides a common abstract base class for the three regular expression classes. These being: m// - PPI::Token::Regexp::Match s/// - PPI::Token::Regexp::Substitute tr/// - PPI::Token::Re...

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::QuoteLike::Regexp - Regexp constructor quote-like operator River stage four • 195 direct dependents • 1291 total dependents

A "PPI::Token::QuoteLike::Regexp" object represents the quote-like operator used to construct anonymous Regexp objects, as follows. # Create a Regexp object for a module filename my $module = qr/\.pm$/;...

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::Regexp::Match - A standard pattern match regex River stage four • 195 direct dependents • 1291 total dependents

A "PPI::Token::Regexp::Match" object represents a single match regular expression. Just to be doubly clear, here are things that are and aren't considered a match regexp. # Is a match regexp /This is a match regexp/; m/Old McDonald had a farm/eieio; ...

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::QuoteLike::Words - Word list constructor quote-like operator River stage four • 195 direct dependents • 1291 total dependents

A "PPI::Token::QuoteLike::Words" object represents a quote-like operator that acts as a constructor for a list of words. # 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};...

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::QuoteLike::Command - The command quote-like operator River stage four • 195 direct dependents • 1291 total dependents

A "PPI::Token::QuoteLike::Command" object represents a command output capturing quote-like operator....

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::Quote::Interpolate - The interpolation quote-like operator River stage four • 195 direct dependents • 1291 total dependents

A "PPI::Token::Quote::Interpolate" object represents a single interpolation quote-like operator, such as "qq{$foo bar $baz}"....

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC

PPI::Token::QuoteLike::Readline - The readline quote-like operator River stage four • 195 direct dependents • 1291 total dependents

The "readline" quote-like operator is used to read either a single line from a file, or all the lines from a file, as follows. # Read in a single line $line = <FILE>; # From a scalar handle $line = <$filehandle>; # Read all the lines @lines = <FILE>;...

OALDERS/PPI-1.276 - 19 Jul 2022 21:50:31 UTC
13 results (0.052 seconds)