The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

  Math::Expr::VarSet - Represents a set of variables and there values

SYNOPSIS

  require Math::Expr::VarSet;
  $s=new Math::Expr::VarSet;
  $s->Set('a', 7);
  $s->Get('a');

DESCRIPTION

  Used to represent variables with values and substitutions.

METHODS

$s=new Math::Expr::VarSet

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

  Returns a stringrepresentation of the set, usefull for debugging.

$s->Get($var)

  Returns the value of $var.