Math::Expr::MatchSet - Represents matches in algebraic expretions
require Math::Expr::MatchSet; $s=new Math::Expr::MatchSet; $s->Set($pos,$match); $s->Get($pos);
Two expretion can be matched in several ways, therefor we need to be able to represent a set of matches keyed by the matchposition (the subexpretion, where the match where found).
Create a new MatchSet object.
Sets the match at $pos to $match.
Synonyme to Set.
Inserts all mathes in the MatchSet £mset intho $s.
Sets the variable $var to $obj in all mathces in this set, and removes all matches that already had a diffrent value for the variable $var.
Generates a string representation of the MatchSet, used for debugging.
Returns the Match at possition $pos.
Returns the positions at which there excists a match.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '£mset'. Assuming CP1252
To install Math::Expr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::Expr
CPAN shell
perl -MCPAN -e shell install Math::Expr
For more information on module installation, please visit the detailed CPAN module installation guide.