|
NAMEMath::Expr::VarSet - Represents a set of variables and there values SYNOPSISrequire Math::Expr::VarSet; $s=new Math::Expr::VarSet; $s->Set('a', 7); $s->Get('a'); DESCRIPTIONUsed to represent variables with values and substitutions. METHODS$s=new Math::Expr::VarSetCreate a new VarSet object. $s->Set($var, $val)Sets $var to $val. Returns 1 if the $var was already set to $val ore did not have a value previously, otherwise 0. $s->Insert($set)Inserts all variables from $set into this object $s->tostrReturns a stringrepresentation of the set, usefull for debugging. $s->Get($var)Returns the value of $var.
Visit the GSP FreeBSD Man Page Interface. |